Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Head First EJB  RSS feed

 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All.

From "Head First EJB" Chapter 4, page 228:

Bean things you can do from stateless bean methods:

ejbCreate(), ejbRemove():

Use your SessionContext to:

....

get a reference to your EJB Object


Really??? How can I refer to the stateless session bean instance's EJB Object from ejbCreate(), ejbRemove(), if the bean is tied to no EJB Object at that time?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!