|
INTERVIEW QUESTIONS
J2EE
JBOSS
DETAILS
Question: What are the differences between EJB 3.0 and EJB 2.0 ?
Answer: EJBs are now plain old Java objects (POJO) that expose regular business interfaces (POJI), and there is no requirement for home interfaces.
*
Use of metadata annotations, an extensible, metadata-driven, attribute-oriented framework that is used to generate Java code or XML deployment descriptors. *
Removal of the requirement for specific interfaces and deployment descriptors (deployment descriptor information can be replaced by annotations). *
Interceptor facility to invoke user methods at the invocation of business methods or at life cycle events. *
Default values are used whenever possible (“configuration by exception” approach). *
Reduction in the requirements for usage of checked exception. *
A complete new persistence model (based on the JPA standard), that supersedes EJB 2.x entity beans
|
|
|
Category |
JBOSS Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9222 users |
Added on |
5/15/2014 |
Views |
68690 |
Rate it! |
|
|
Question:
What are the differences between EJB 3.0 and EJB 2.0 ?
Answer:
EJBs are now plain old Java objects (POJO) that expose regular business interfaces (POJI), and there is no requirement for home interfaces.
*
Use of metadata annotations, an extensible, metadata-driven, attribute-oriented framework that is used to generate Java code or XML deployment descriptors. *
Removal of the requirement for specific interfaces and deployment descriptors (deployment descriptor information can be replaced by annotations). *
Interceptor facility to invoke user methods at the invocation of business methods or at life cycle events. *
Default values are used whenever possible (“configuration by exception” approach). *
Reduction in the requirements for usage of checked exception. *
A complete new persistence model (based on the JPA standard), that supersedes EJB 2.x entity beans 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 if you need to span your transaction across multiple Servlet invocations ?
|
View Answer
|
|
Why will I want to integrate Hibernate service into JBoss?
|
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 JBOSS Interview Questions & Answers - Exam Mode /
Learning Mode
|