Installing and configuring for WebLogic servers

This section describes a summary of how to install Oracle WebLogic Server and configure Eclipse to enable creating ZIETrans web applications targeted for Oracle WebLogic Server:

Download and install the Oracle WebLogic Server using download links and instructions on the Oracle site at https://www.oracle.com/java/weblogic/.

Install the Oracle WebLogic Server tools in Eclipse:
  1. On the Eclipse menu bar, click Help > Eclipse Marketplace.
  2. In the Find textbox, search for WebLogic.
  3. Install the Oracle WebLogic Server Tools.
  4. Click Confirm on the Confirm Selected Features panel.
  5. Read and accept the terms of the licensing agreement and click Finish.
  6. After the installation completes, click Yes when you are asked if to restart.
Configure WebLogic as a target server in Eclipse for ZIETrans web applications:
  1. On the Eclipse menu bar, click Window > Preferences.
  2. In the left panel, expand Server.
  3. Click Runtime Environments.
  4. In the Server Runtime Environments panel, click Add.
  5. In the New Server Runtime Environment dialog, expand the Oracle folder.
  6. Select the appropriate version of the Oracle WebLogic Server.
  7. Optional. Select the Create a new local server box to create a new WebLogic server on your workspace Servers tab. Doing this step enables you to test your WebLogic application within the Eclipse local test environment using the Run on Server, Debug on Server, and Profile on Server functions.
    Note: If you perform this step, you must modify the default Publishing mode so that your projects will deploy correctly when using the Run on Server, Debug on Server, and Profile on Server functions.
    1. Find the instance of the WebLogic Server that was created in the Servers view.
    2. Right-click on the WebLogic Server and click Properties.
    3. In the left panel, expand WebLogic.
    4. Click Publishing.
    5. In the Publishing mode section, click Publish as an exploded archive.
    6. Click OK to close the Properties panel.
  8. Click Next to go to the panel where you point to your local WebLogic server. In the WebLogic home field enter the root folder where you installed the WebLogic server. For example, if your WebLogic installation uses the root folder named C:\Oracle\Middleware, enter C:\Oracle\Middleware\wlserver_12.1 in the WebLogic home field. If you installed the JDK that was included with the WebLogic server installer then the JAVA home field should be filled in automatically with a value such as C:\Oracle\Middleware\jdk160_29. If you did not install the included JDK then you must enter into the JAVA home field the appropriate location of the JAVA runtime being used.
  9. Click Finish.
  10. Click OK to close the Preferences panel.

After following these steps, you can create ZIETrans applications within Eclipse targeted for Oracle WebLogic Server.