File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt regarding sateful Session Bean intialization. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt regarding sateful Session Bean intialization." Watch "Doubt regarding sateful Session Bean intialization." New topic
Author

Doubt regarding sateful Session Bean intialization.

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
As with the EJB2.1 we would call the create methods(Home interface) to create and initialize the session bean instance. Now in ejb3, since we don't have the Home Object how do we initialize the session bean instances. Should we have separate initialization methods and call it explicitly before we call any business methods.


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt regarding sateful Session Bean intialization.