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 is meant by manifest files ?
What are versions of ejb?
What is stateless authentication?
Transaction Attributes? What is the use of ?RequiresNew?
Is it possible to write two EJBs that have different bean classes, but they share same Remote interface and Home interfaces?
Explain the architectural relationship between EJB & XML?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What are ejb components?
What is meant by ejb?
ejb session beans and entity beans?
How is ejb different from java beans?
What is stateless ejb?