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
Define ACID Properties?
What is meant by ejb?
What are the various types of entrepreneur java bean?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What are versions of ejb?
How do you decide whether you should use session, entity or message driven bean?
What is the use of @ejb annotation?
What is the procedure for the creation of stateless ejb?
What is @enableautoconfiguration?
What is mdb?
What is an ejb container?
How can one EJB be called from within another EJB?
What is @autowired required false?
List down the steps for the demonstration of ejp persistence mechanism.
What’s new in the ejb 2.0 specification?