About Business Components for Java (BC4J) Deployment

Deploying business components for Java in JDeveloper involves three main steps which you must perform:

  1. Verify that the target application server has met the BC4J prerequisites: standalone OC4J and Oracle Application Server or WebLogic
  2. Create the deployment profile for the BC4J application
  3. Deploy the deployment profile:
    1. Deploying Local Client Applications
    2. Deploying BC4J Web Applications
    3. Deploying BC4J as an EJB Session Bean
    4. Deploying CORBA Objects on VisiBroker

When business components are deployed as a J2EE web module, the business components are packaged as a J2EE web archive (WAR) file which the client code can access. Deploying as a J2EE web module is especially suited to client code, such as JavaServer Pages and servlets, that run on fast, shared machines.

When business components are deployed as a CORBA server object or an EJB session bean, the business components run in a separate tier (middle-tier) from the client programs. For example, the CORBA object runs on the VisiBroker server and the EJB session bean runs on an EJB server such as Oracle Application Server.

At deployment time, the application module must be made available (remoteable) to the client code. In JDeveloper, you can make the application module available (remoteable) when creating a deployment profile with the Business Components Deployment Profile Wizard, Step 3 of 3: AppModules. Making the application module remoteable means creating an EJB remote interface and/or client-side proxies for application module methods which must be deployed to the client platform. For more information, see:

  • Sample Client Code for an EJB Client Deployed to OC4J
  • Sample Client Code for an EJB Client Deployed to WebLogic
  • Notes:


    Related topics

    About the Deployment Process
    About J2EE Applications and How They Are Packaged and Deployed
    About Deploying on Oracle9i Application Server
    About Deployment Profile Dependencies
    Ways to Create Application Server Connections
    Ways to Deploy J2EE Applications
    List of J2EE Deployment-Related References
    About BC4J Configuration Properties
    Defining BC4J JSP Runtime Properties in the bc4j.xcfg File