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 |
How to import ejb project in eclipse?
what are main features in EJB?
What does @singleton annotation do?
How does ejb container work?
What is @injectmock?
how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.
What is the use of @resource?
What are the different types of ejb?
What is bean-managed persistence?
What is activemq used for?
What is ejb javatpoint?
What optimization could I use if the ejb container is the only point of write access to the database?