my dog learned polymorphism*
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 Java 8 in Action this week in the Java 8 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
apostripy problem
class instance variables modifying
TLD question
static reference variable
Question based on pass by reference