Welcome to the WebLogic Server tutorial. WebLogic is a web server that is dedicated to running software applications that can serve client requests on the World Wide Web. This tutorial is for providing in-depth knowledge of WebLogic Server. So what are you waiting for? Let us get started!
WebLogic Server is a leading Java application server that is used to develop and deploy multi-tiered distributed applications. WebLogic server can also be called as middleware or a managed server and it implements J2EE. We can deploy and manage Java environments including JSP servlets, EJB, etc. Oracle, DB2, MS SQL Server, and other JDBC-compliant databases are supported by WebLogic Server. This server has been in the market since 1997. Oracle has acquired WebLogic Server in the year 2008 when it purchased BEA Systems.
WebLogic Application Server undergoes continuous improvements and 30 versions have been released till now. Here are the last 5 version releases,
WebLogic makes it easy to manage, monitor, and configure domains and applications. Some of the main features of WebLogic are,
The main advantages of WebLogic Server are,
An application server and a web server serves different requests. Here are some points that explain the main differences between the two,
Firstly, ensure that you have a JDK 1.8 or later version. Go to Oracle Fusion Middleware Software and download the quick installer.
A file with the name fmw_188.8.131.52.0_wls_quick_Disk1_1of1.zip will be downloaded. Unzip the file to your desired local folder. When the installation starts, you will be prompted with a few screens.
If you are installing in Linux, it will ask you to select the location for creating a central inventory. This screen does not appear for Windows installation. Skip the ‘Auto Updates’. It will then ask you to choose the installation location.
Then the ‘Installation Type’ screen prompts, select ‘WebLogic Server’. Then comes the ‘Prerequisites Checks’ screen which shows all the prerequisites needed. Verify that all the necessary requirements are met by your system.
Skip the ‘Specify Security Updates’ screen. Then a summary of all the options that you have selected till now will be shown on the ‘Installation Summary’ screen. Click on ‘Finish’. WebLogic Server will be successfully installed.
Looking for Weblogic server administration online Training. Enroll now to get a FREE demo on weblogic server administration Course.
A WebLogic Domain represents an environment. It is referred to as the basic administration unit for WebLogic Server instances. A domain contains several WebLogic Server instances that are managed through a single Administration Server. It also contains all the resources that are required for applications to run.
How to create a WebLogic domain?
We can create a WebLogic through Configuration Wizard. First, we have to start the Configuration Wizard.
Open a command prompt and execute the below commands,
[Related Article: Weblogic Tutorial]
Open a terminal and execute the below commands,
The Configuration Wizard will open up. Navigate to the ‘Configure the Domain’ screen. Select 'Create a New Domain'. Leave the default options for the ‘Configuration Templates’ screen.
Next, you will be prompted to give a username and password for the WebLogic administrator account. Give the fields and remember them for future purposes.
In the next screen, select ‘Production’ for the ‘Domain Mode’ field. For the ‘JDK’ field, select 'Oracle Hotspot JDK'. In the next screen, select the below options,
Next, select the IP address or the DNS name of the administration server for ‘Listen to Address’. Keep clicking on ‘Next’. Once the configuration is successful, you will be shown Domain Location and Administration Server URL. Make a note of these for future purposes. Click on ‘Finish’ to close the Configuration Wizard.
A deployment unit is basically a J2EE application that is organized and ready to deploy into WebLogic Server. Below are the types of deployment units that the WebLogic Server supports,
Open your server domain and package the application into an archive file that contains all the files and descriptor files too. You can deploy the application in either normal mode or in debug mode.
To deploy in normal mode, click on 'Run As' and then click on 'Run on Server'.
If you want to deploy in debug mode, click on 'Debug As' and then click on 'Debug on Server'.
The application will be published to your server. Once the deployment is successful, you will be able to see the Servers view. The application results will be displayed on the workbench editor. If your application has a JSP page, it will open it in a tab in the editor that can be used as a test browser. You can continue testing your application.
5th April | 08:00 AM