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
Enlist the CallBack methods of Session Bean?
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 @autowired required false?
Who took over ejb?
Define Context?
Why is ejb used?
What is ejb application?
What is stateless and stateful?
What are the different kind of ejb's?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is singleton session bean?
What is stateless authentication?
What is ejb container in java?
Which services are provided to ejb components by the ejb container?
Why is ftp stateful?