Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days

Q&A

Q1:

Is it possible to include a client .jar inside the deployable EAR file? If yes, how is it done?

A1:

You can include your client's .jar file inside the deployable EAR file. The application.xml file of the deployable EAR is used to list the components of the server side. Similarly, for the client side, a client_application.xml file exists. The client-side components look at the client_application.xml file, whereas the server-side components refer to the application.xml file. Also, an XML file, named the same as the client .jar file deployed with a .runtime following it, is required. For example, if the client .jar file you deployed is client.jar, you will have an XML file called client.runtime.xml. In this way, you can include a client .jar inside a deployable EAR.

Категории