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 and other Java EE Technologies and the fly likes Session bean create method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session bean create method." Watch "Session bean create method." New topic
Author

Session bean create method.

vivek kumar
Greenhorn

Joined: Sep 18, 2007
Posts: 13
Accordint to one book:-
"The create() method is invoked by the client to get a reference
to the component interface of a session bean. It does not necessarily mean that a bean instance will be created upon receiving this call. If the bean is a stateless session bean, the container may already have created some bean instances and may use one of those instances to service the method calls. Or the container may wait until the client invokes a business method before it creates a bean instance."
My question is, if a bean instance is created when business method is called then what will be the value of remote component interface between create and before the business method is called. Will it be null?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"viku",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
 
Consider Paul's rocket mass heater.
 
subject: Session bean create method.