Deploying BC4J Web Applications to WebLogic

Important: Before deploying your BC4J web application, ensure that you've met all the requirements in BC4J Setup and Deployment Prerequisites for more information.

To deploy a BC4J web application to WebLogic server instance:

  1. To deploy the client application project, right-click WAR_dep_profile_icon <myappwar>.deploy and choose Deploy to <application_server_connection>. See "Deployment Options" below for more information.
    Note: When creating a deployment profile for BC4J web applications, if you chose to deploy the business logic to the web module, the business component files are also added to the web module. However, if you chose to deploy the business logic as an EJB session bean, then the web module only contains the client application files.
    In both cases, the client application files including the WAR and EAR files are included in the web module and deployed to the target WebLogic instance.
  2. You can access the web application in a browser by entering its application URL. For example:
    http://hostname:<portnumber>/<virtual path>/<sitename>/main.html
    where virtual path is the context root you specified in the deployment profile.

Deployment Options

JDeveloper lets you deploy in the following locations:
  1. From the Navigator, select and right-click WAR_dep_profile_icon <myappwar>.deploy.
  2. You can also choose from the following deployment options in the context menu:
    1. Deploy to <Name_of_server_connection>: the web module is packaged as a WAR. JDeveloper deploys the WAR file to the selected WebLogic application server connection which you created earlier.
    2. Deploy to WAR file: the web module is packaged as a WAR file and saved to the local directory or mapped network drive you specified in the deployment profile. Or, you can use the BEA WebLogic Server Console to deploy this WAR file. See your WebLogic Server documentation for more information.
    3. Deploy to EAR file: the web module is packaged as an Enterprise Archive (EAR) file and saved to the local directory or mapped network drive you specified in the deployment profile. Or, you can use the BEA WebLogic Server Console to deploy this EAR file. See your WebLogic Server documentation for more information.

Notes:


Related topics

Developing Web Applications (J2EE Web Modules)
About J2EE Applications and How They Are Packaged and Deployed
About Business Components for Java (BC4J) Deployment
Editing Deployment Descriptors
Understanding the n-Tiered Business Components Architecture