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
Which is more beneficial: CMP or BMP?
What’s the difference between hibernate and ejb 3?
What is the difference between Session bean and Entity bean?one?
What is a ejb container?
What is EJB server provider?
What is ejbdoclet?
What is entity beans in ejb with example?
What do you mean by abstract schema?
What is stateless code?
What is Session Bean Interface?
Explain what is an EJB Context?
How ejb invocation happens?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
Is microservice stateless?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?