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 |
Explain Stateful session bean life cycle?
What are the types of enterprise bean?
What is ejb 3?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
What is meant by manifest files ?
Why should we use ejb?
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What is stateless ejb?
What are transaction isolation levels in ejb?
What is beaninfo ?
Can the primary key in the entity bean be a Java primitive type such as int?
When was ejb developed?