This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 8927

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


Groovy
Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Thanks Pradeep
 
Have you checked out Aspose?
 
subject: Passing reference....
 
It's not a secret anymore!