Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
Answer / Shikha Dixit
In the ejbPassivate() method, you should set all instance variables to their default values and detach any objects that are not serializable.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does @singleton annotation do?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
What are the design principles for ejb?
Enlist the changes in EJB 2.1 ?
Driver manager is a class/interface.
5 Answers Bally Technologies, College School Exams Tests, TCS,
Can tomcat run ejb?
What are the key benefits of the ejb technology?
Can Container Managed Bean-Managed Transaction ?
How does legacy object mapping work?
Is decorator an ejb design pattern?
What are the attributes of transaction in ejb?
Is ejbCreate() method mandatory while defining a Session Bean?