What is the difference between stateful and stateless
session beans?
Answer Posted / pn8572
Stateful Session bean - the session bean which is associated with one EJB client.
example : normal item cart in any online shopping site.
Stateless Session bean- each session bean can be reused by multiple EJB clients.
example : EMI calculator.
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
List some key actors in persistence api.
What is ejb ql?
Is ejbCreate() method mandatory while defining a Session Bean?
How can a CORBA object, accessed from a EJB?
What is ptp model?
Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?
Can remove() be a Stateless Session bean?
Explain transaction and various methods to manage it?
What happens when I change a value in the httpsession from inside an ejb?
What does it mean to be stateless?
What is message-driven bean?
What are the limitations of using local object?
What is bean in ejb?
Can an ejb send asynchronous notifications to its clients?
Differentiate “find a method” from “select method” in EJB ?