how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file.
Answer Posted / king
A bean is stateful or stateless can be inferred from its
deployment descriptor.
i.e
ejb-jar.xml
<session-type>Stateless</session-type>
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Differentiate “find a method” from “select method” in EJB ?
What is a local interface?
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What is ejb application?
Why do we need ejb?
Can beans who are involved in transaction have 'passivation' process?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
How does ejb container work?
What do you mean by ejb ql?
Is it possible to share an httpsession between a jsp and ejb?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
What is use of @postconstruct?
Explain the concept of connection pooling feature of ejb container?
How do you decide whether you should use session, entity or message driven bean?
How many enterprise beans?