|
INTERVIEW QUESTIONS
J2EE
EJB
DETAILS
Question: What is difference between EJB 1.1 and EJB 2.0?
Answer: The bulk of the changes in EJB 2.0 are found in the definition of a new CMP component model. It's radically different from the old CMP model because it introduces an entirely new participant, the persistence manager, and a completely new way of defining container-managed fields, as well as relationships with other beans and dependent objects.
The introduction of the MessageDrivenBean (the message bean) is also significant. The message bean represents the integration of JMS (Java Message Service) with EJB to create an entirely new type of bean designed to handle asynchronous JMS messages. That exciting new bean type provides a component model for JMS clients, allowing them to be deployed in the rich and robust environment of an EJB container system.
Submitted by Prathima Donapudi ([email protected])
|
|
|
Category |
EJB Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7190 users |
Added on |
10/14/2010 |
Views |
79000 |
Rate it! |
|
|
Question:
What is difference between EJB 1.1 and EJB 2.0?
Answer:
The bulk of the changes in EJB 2.0 are found in the definition of a new CMP component model. It's radically different from the old CMP model because it introduces an entirely new participant, the persistence manager, and a completely new way of defining container-managed fields, as well as relationships with other beans and dependent objects.
The introduction of the MessageDrivenBean (the message bean) is also significant. The message bean represents the integration of JMS (Java Message Service) with EJB to create an entirely new type of bean designed to handle asynchronous JMS messages. That exciting new bean type provides a component model for JMS clients, allowing them to be deployed in the rich and robust environment of an EJB container system.
Submitted by Prathima Donapudi ([email protected]) Source: CoolInterview.com
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:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is Message Driven Bean?
|
View Answer
|
|
What is the life cycle of MDB?
|
View Answer
|
|
What is local interface. How values will be passed?
|
View Answer
|
|
What is the difference between local interface and remote interface?
|
View Answer
|
|
What is EJB Query Language?
|
View Answer
|
|
What is ACID?
|
View Answer
|
|
What are the various isolation levels in a transaction and differences between them?
|
View Answer
|
|
What is the difference between activation and passivation?
|
View Answer
|
|
What is the difference between activation and passivation?
|
View Answer
|
|
What is Instance pooling?
|
View Answer
|
|
What is the difference between HTTPSession and Stateful Session Bean?
|
View Answer
|
|
How do you check whether the session is active in Stateful session bean?
|
View Answer
|
|
What is the difference between find and select methods in EJB?
|
View Answer
|
|
What are the optional clauses in EJB QL?
|
View Answer
|
|
What is handle in EJB?
|
View Answer
|
|
What is the difference between JNDI context, Initial context, session context and ejb context?
|
View Answer
|
|
What is the difference between sessioncontext and entitycontext?
|
View Answer
|
|
What is the difference between EAR, JAR and WAR file?
|
View Answer
|
|
What is deployment descriptor?
|
View Answer
|
|
What is CMR?
|
View Answer
|
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
|