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 various methods of an Entity Bean?
In bean managed transactions, how session bean can be configured?
What is a ejb container?
what is a ejb architecture? and overview of ejb software architecture?
What is entity bean?
What is persistence?
Can beans who are involved in transaction have 'passivation' process?
Write down the steps for the creation of stateless ejb.
What are the types of enterprise bean?
What is mdb?
How to connect to a specific enterprise bean?
What is the difference between @requestparam and @pathvariable?