Deploying an EJB JAR to WebLogic

A J2EE EJB module deployed to a BEA WebLogic server 6.1 or 7.0SP1 is packaged as an EJB JAR file which contains one or more EJB components and two EJB deployment descriptor files named ejb-jar.xml and weblogic-ejb-jar.xml. JDeveloper lets you create the deployment profile containing the EJB components and these deployment descriptor files and packages them into a standard J2EE EJB JAR archive for deployment to WebLogic via the BEA WebLogic Server Console.

To deploy a J2EE EJB JAR file in JDeveloper to WebLogic:

  1. If not already done, create a deployment profile for an EJB JAR .
  2. If not already done, create an application server connection to BEA WebLogic before deploying the EJB JAR.
  3. Select and right-click the EJB_deployment_profile_icon <ejb_name>.deploy profile icon and choose any of the available deployment options:
    1. Deploy to <Name_of_server_connection>: the EJB is packaged as an EJB JAR. JDeveloper also generates an EAR file which contains the EJB JAR before deploying to the selected application server connection.
    2. Deploy to New Connection: Launches the Connection Wizard which lets you create a new application server connection.
    3. Deploy to JAR file: the EJB module is packaged as an EJB JAR and saved to the local directory or mapped network drive which you specified in the EJB JAR deployment profile. Use the BEA WebLogic Server Console to deploy this EJB JAR file. See your WebLogic Server documentation for more information.
  4. (Optional) If you want to edit either the EJB_deployment_profile_icon <ejb_name>.deploy profile or any of the corresponding deployment descriptors, ejb-jar.xml or weblogic-ejb-jar.xml, right-click its icon in the Navigator and choose Settings.

Notes:


Related topics

About J2EE Applications and How They Are Packaged and Deployed
Editing weblogic-ejb-jar.xml
Deploying EJB JARs to WebLogic
Deploying BC4J as an EJB Session Bean to Standalone OC4J or Oracle Application Server
Deploying BC4J as an EJB Session Bean to WebLogic
Understanding the n-Tiered Business Components Architecture
Running an EJB
Debugging an EJB
Sample Client Code for an EJB Client for WebLogic