Stateless session bean is instantiated by (a) newInstance()(b) create()

Showing Answers 1 - 5 of 5 Answers

shashidhar mahavadi

  • Jun 8th, 2005
 

when an instance transists from non exist state to medhod ready pool three operations will be perfomed, at first the bean instance is instantiated by invoking the class.newInstance() method on stateless session bean. 
In stateless session beans calling create() method results in creating EJB object for the client. ejbCreate() of a stateless bean only invoked once in the life cycle of a perticular instance

  Was this answer useful?  Yes

shashidhar .M

  • Jun 8th, 2005
 

home interface of a stateless session bean must have only one create() method. This method does not take any arguments.

  Was this answer useful?  Yes

Porkodi

  • Jul 14th, 2005
 

a) newInstance()

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions