Deploying BC4J as an EJB Session Bean to WebLogic

When deploying a BC4J as an EJB session bean to a BEA WebLogic instance, you must ensure that the BC4J runtime libraries are installed and the deployment profile is created. The JDeveloper deployment wizards create all the necessary code to deploy business components as an EJB session bean.

Important: Before deploying your BC4J EJB application, ensure that you've met all the requirements in BC4J Prerequisites for WebLogic Deployment.

To deploy BC4J as an EJB session bean to a WebLogic instance:

  1. Make sure you've created a BC4J EJB deployment profile.
  2. In the Navigator, select the bc4j_deploy_profile_icon <ProjectNameEJB>.bcdeploy deployment profile you want to deploy.
  3. Right-click bc4j_deploy_profile_icon <ProjectNameEJB>.bcdeploy and choose from the available context menu options:
  4. The application files including the JAR and EAR file are packaged as a EJB JAR and deployed to the WebLogic application server instance. JDeveloper also generates an EAR file which contains the EJB JAR before deploying to the selected connection.

Deployment Options

You can also choose to deploy the subprofiles separately in the following ways:

  1. From the Navigator, click + to expand bc4j_deploy_profile_icon <ProjectNameEJB>.bcdeploy and to display the subprofiles:
  2. Right-click any of these subprofile icons to perform a variety of tasks including: Deploy to <application_server_connection>, Deploy to New Connection, Deploy to JAR file, Deploy to EAR file, display deployment profile Settings.

Related topics

About J2EE Applications and How They Are Packaged and Deployed
About Business Components for Java (BC4J) Deployment
Deploying EJB JARs to WebLogic
Editing weblogic-ejb-jar.xml
Loading BC4J Runtime Libraries to WebLogic
Sample Client Code for an EJB Client for WebLogic
Understanding the n-Tiered Business Components Architecture