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 types of ejb?
Can the primary key in the entity bean be a Java primitive type such as int?
How is ejb different from java beans?
What are the different types of ejb?
What are stateless applications?
What is ejb home object?
When was ejb developed?
Which is more beneficial: CMP or BMP?
Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?
What are the design goals of EJB architecture?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
Explain the difference between, Java Class and Bean?