Search Interview Questions
Question: What is the life cycle of Stateless session bean?
Answer: The stateless session bean's life cycle has two states: the Does Not Exist state and the Method-Ready Pool. The Method-Ready Pool is similar to the instance pool used for entity beans. This is one of the significant life-cycle differences between stateless and stateful session beans; stateless beans define instance pooling in their life cycle and stateful beans do not.
Visit http://www.unix.org.ua/orelly/java-ent/ebeans/ch07_02.htm for more details on this topic.
|
|||||||||||
Question: What is the life cycle of Stateless session bean?
Answer: The stateless session bean's life cycle has two states: the Does Not Exist state and the Method-Ready Pool. The Method-Ready Pool is similar to the instance pool used for entity beans. This is one of the significant life-cycle differences between stateless and stateful session beans; stateless beans define instance pooling in their life cycle and stateful beans do not. If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
What are the call back methods in Session bean? |
|
|
When you will chose Stateful session bean and Stateless session bean? |
|
|
What is Entity Bean. What are the various types of Entity Bean? |
|
|
What is the difference between CMP and BMP? |
|
|
What is the lifecycle of Entity Bean? |
|
|
What are the call back methods in Entity bean? |
|
|
When you will chose CMP and BMP? |
|
|
What are advantages and disadvantages of CMP and BMP? |
|
|
What is difference between EJB 1.1 and EJB 2.0? |
|
|
What is Message Driven Bean? |
|
|
What is the life cycle of MDB? |
|
|
What is local interface. How values will be passed? |
|
|
What is the difference between local interface and remote interface? |
|
|
What is EJB Query Language? |
|
|
What is ACID? |
|
|
What are the various isolation levels in a transaction and differences between them? |
|
|
What is the difference between activation and passivation? |
|
|
What is the difference between activation and passivation? |
|
|
What is Instance pooling? |
|
|
What is the difference between HTTPSession and Stateful Session Bean? |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All EJB Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |