Can we use instance variables in Stateless session beans? If yes, Why and How? If the answer is no , explain why and how?

Showing Answers 1 - 3 of 3 Answers

gokulakrishnan

  • Sep 30th, 2005
 

no,In Stateless it does not maintain the contexual information about the client.In statefull we are having the ejbActivate(),ejbPassivate() bcoz it maintains the user specific data. but if we are giving the activation and passivation in stateless the container won't take these methods.

  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