What are the differences between EJB 3.0 and EJB 2.0?
Submitted by: AdministratorEJBs 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
Submitted by: Administrator
► 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
Submitted by: Administrator
Read Online JBoss Job Interview Questions And Answers
Top JBoss Questions
☺ | What is JBOSS? |
☺ | What is JBoss JBPM? |
☺ | What is the difference between JAX--WS and JAX-RPC? |
☺ | What is JBoss cache in short? |
☺ | What is JTA? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |