Packaging EJBs Built on SQLJ Files for Deployment

If you have an EJB that is built on a SQLJ file, you may need to add libraries to the EJB JAR deployment profile. If you are deploying to an application server which is not configured with SQLJ runtime libraries, then you must configure the server with the SQLJ runtime libraries from <jdev_home>/sqlj/lib. Standalone OC4J is pre-configured with the libraries.

To package EJBs build on SQLJ files for deployment:

  1. Package the EJB components for deployment.

  2. Edit the Filters page deployment profile to add the libraries:

    1. Choose 1) Before Dependency Analysis and click Add.

    2. Add Dependency Analyzer Filter: in the Type dropdown list, choose Include Package Tree .

    3. Click Browse and navigate to your project's package.

    4. Select the common.* libraries and click OK.

    5. Similarly, add the server.* packages from your project.

    6. (Optional) Profile Dependencies: if the deployment profile depends on J2EE modules from another deployment profile.

    7. (Optional) If you want to pass command line parameters to any of the supported target connection types, click the appropriate node: Oracle Application Server, Standalone OC4J, or WebLogic .

    If you require further assistance for any field on any page, click Help.

  3. Click OK when you are done.


Related topics

About J2EE Deployment
About J2EE Archive Formats
About Deployment Profiles
About Deployment Descriptors
Packaging J2EE Applications
Deploying J2EE Applications
Deploying Applications to J2EE Application Servers

 

Copyright © 1997, 2004, Oracle. All rights reserved.