Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Using the Java Optional Package Mechanism
- Next: To package the client JAR for one application in another application

#### Packaging the Client JAR for One Application in Another Application

By packaging the client JAR for one application in a second application, you allow an EJB or web component in the second application to call an EJB component in the first (dependent) application, without making either of them accessible to any other application or module.

As an alternative for a production environment, you can have the Common Classloader load client JAR of the dependent application as described in Using the Common Classloader restart the server to make the dependent application accessible, and it is accessible across the domain.

- Previous: Using the Java Optional Package Mechanism
- Next: To package the client JAR for one application in another application

- © 2010, Oracle Corporation and/or its affiliates