This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing self's EJBObject from EntityBean?  RSS feed

 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm implementing a business method of an EntityBean.

From this business method, I've to call another EntityBean's finder method which requires a EJBLocalObject interface of my current bean.

How to go about doing that? Do I have to do alookup on the home interface?


[ February 22, 2007: Message edited by: Chu Tan ]
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can get the EJB local object through the entity bean context, like



See, for example, here in the docs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!