What are types in SessionBeans?
Answer / 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 |
What is Enterprise JavaBeans?
Define ejb Create() and EjbPostCreate()?
What is passivation and activation in ejb?
What are different Methods and Classes written in a Session Bean
Why stateless is better than stateful?
Which is default transaction attribute for the business method of a bean?
How many ejb objects are created for a bean?
Define Clone?
What is the difference between ejbcreate() and ejbpostcreate?
Why is ejb needed?
Tell me difference between Container managed persistent bean & Bean managed persistent bean?
in EJB diclare the static methods are not?