This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Head First EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Head First EJB" Watch "Head First EJB" New topic
Author

Head First EJB

Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
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?


We must know, we will know. -- David Hilbert
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Head First EJB
 
Similar Threads
Head First EJB
ejbCreate in session bean
ejbCreate in session bean
Bean things you can do from a stateless bean's ejbCreate() and ejbRemove() methods
Head First EJB