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 Passing reference.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Passing reference...." Watch "Passing reference...." New topic
Author

Passing reference....

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
I have 2 ejb namely A and B How to pass the reference of A to B???


Thanks,
Mathews
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

use entityContext.getEJBObject() or sessionContext.getEJBObject() and pass the reference


Groovy
Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Thanks Pradeep
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing reference....
 
Similar Threads
static reference variable
Question based on pass by reference
TLD question
apostripy problem
class instance variables modifying