Answer Posted / sathya
Stateless SessionBean
Stateful Session Bean
The former,as the name suggests, doesn't maintain state
across sessions , each bean is independent , genereally a
pool of stateless beans are created and each bean returns to
this pool once its taks is completed.
Stateful Beans on other hand, maintains the session across
the states and returns to the pool once the session is timed
out.
can be used for database operations although not recommended.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does ejb work in java?
What is stateless session bean?
What is pub/sub model?
What is activemq used for?
What is mdb?
What is @autowired required false?
What is entity bean in ejb?
List some key actors in persistence api.
What is an ejb platform?
What is the difference between ejbcreate() and ejbpostcreate?
What is use of @postconstruct?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
What is Enterprise JavaBeans (EJB)?
What is the full form of ejb in java?
What is difference between ejb 1.1 and ejb 2.0?