aspose 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 Spring in Action this week in the Spring 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: 8919

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....