Win a copy of Java Concurrency Live Lessons this week in the Threads 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 statless session bean instance's EJB Object from ejbCreate(), ejbRemove(), if the bean is tied to no EJB Object at that time?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!