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
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
What are the benefits of ejb?
How can a CORBA object, accessed from a EJB?
Explain the architectural relationship between JavaBeans and JTA?
What is difference between stateless and stateful?
What is entity beans in ejb with example?
What does ejb stand for?
What do you mean enterprise javabeans (ejb) container?
Can EJB made to handle multiple transactions?
What is ejb in java with example?
What are the advantages of java beam?
What is message-driven bean?
What are stateless applications?
What optimization could I use if the ejb container is the only point of write access to the database?
What is the difference between ejbcreate() and ejbpostcreate?