File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes <ejb-client-jar> example from the core specification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "<ejb-client-jar> example from the core specification " Watch "<ejb-client-jar> example from the core specification " New topic
Author

<ejb-client-jar> example from the core specification

Musab Al-Rawi
Ranch Hand

Joined: Aug 06, 2007
Posts: 231
Hello all,
the ejb3.0 specification says (chapter 60 page 241):

There is also an example on page 242:


Now finally my questions are:
1. Why did we need to include the ejb1_client.jar in app2.ear (or even in app1.ear), wasn't it enough to refer to it (using class-path in Manifest, or may be just by using <ejb-client-jar>) as the bullets quoted first suggest?
2. How come we didn't need to use <ejb-client-jar> for ejb2.jar
3. Since both of ejb1.jar and ejb2.jar are packaged in app1.ear couldn't we simply refer to the ejb1_client.jar in the Manifest file of app1.ear?

Please, I appreciate your input on this.

SCBCD - SCWCD - SCJD - SCJP - OCA
Musab Al-Rawi
Ranch Hand

Joined: Aug 06, 2007
Posts: 231
Please anyone, even if partial answer.
 
Consider Paul's rocket mass heater.
 
subject: <ejb-client-jar> example from the core specification
 
Similar Threads
EJB JAR resources classloader issues
ejb-ref problem
Packaging Confusion
linking webapp with ejb in ear
WAR inside EAR is not being deployed by WLS 8.1