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 are the components of session beam?
How does the server decide which beans to passivate and activate?
What is entity bean in ejb?
What is EJB server provider?
Why is ejb needed?
How many enterprise beans?
What is stateless code?
Explain the architectural relationship between JavaBeans and JTA?
Define ripple effect?
What is the difference between ejb and spring?
what are main features in EJB?
What do you mean by bean managed transaction?