This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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 stateless 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Head First EJB
 
It's not a secret anymore!