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 one EJB from other EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "one EJB from other EJB" Watch "one EJB from other EJB" New topic
Author

one EJB from other EJB

Manas Ahlaad
Ranch Hand

Joined: Nov 07, 2001
Posts: 165
Hello,
how do you call one EJB from other EJB?? any configuration in deployment descriptor so that it can effectivel use the called EJB's instance??
TIA
Manas
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Calling one ejb from another is routine and done the same way as in any other client. To improve performance use Local Interfaces or ensure the Application Server is using pass-by-reference. If we are talking about Entity Beans then use the CMR features in EJB 2.0.
[ December 11, 2002: Message edited by: Chris Mathews ]
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170


Here the WDJ manager bean will be calling the MartialArtist bean through its local interface.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: one EJB from other EJB