File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head First EJB

 
Joseph Sweet
Ranch Hand
Posts: 327
  • 0
  • 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