• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing reference....

 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 ejb namely A and B How to pass the reference of A to B???
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use entityContext.getEJBObject() or sessionContext.getEJBObject() and pass the reference
 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Pradeep
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic