Difference between ejb 2.0and ejb 1.1, JAVA Programming

EJB 2.0 has the additional advantages over the EJB 1.1 given below

1. Local interfaces: These are beans that can be needed locally, that means by the same Java Virtual Machine, so they do not needed to be wrapped like arguments, and remote beans between those interfaces are passed directly by reference instead of by value. This enhances performance.

2. ejbHome methods: Entity beans can define ejbHomeXXX(...) functions that perform operations related to the EJB elements but that are not specific to a bean instance. The ejbHomeXXX(...) method defined in the bean class must have a matching home method XXXX( ...) in the home interface.

3. Message Driven Beans (MDB): is a completely new enterprise java bean type, which is designed to handle or accepting JMS messages.

4. New CMP Model:It is based on a new contract named the abstract persistence schema, which will give the container to handle the persistence automatically at runtime.

5. EJB Query Language (EJB QL): It is a SQL-based language that will provide the new persistence schema to implement and execute finder function. EJB QL also used in new query functions ejbSelectXXX(...), which is same as ejbFindXXXX(...) functions except that it is only for the bean class to use and not give to the client.

6. Container-managed timer service: The timer service gives transactional, coarse-grained, time-based event notifications to enable enterprise beans to model and manage higher-level business processes.

7. Web Service support: EJB 2.1 expends the ability of stateless session beans to implement a Web Service last point via a Web Service endpoint interface.

8. EJB-QL: Enhanced EJB-QL adds support for ordering of results and aggregate functions.

 

Posted Date: 7/27/2012 4:07:08 AM | Location : United States







Related Discussions:- Difference between ejb 2.0and ejb 1.1, Assignment Help, Ask Question on Difference between ejb 2.0and ejb 1.1, Get Answer, Expert's Help, Difference between ejb 2.0and ejb 1.1 Discussions

Write discussion on Difference between ejb 2.0and ejb 1.1
Your posts are moderated
Related Questions
How does a try statement determine which catch clause should be used to handle the exception?

A final class will not be extended i.e. A final method cannot be overridden when its class is added. You can't modify value of a final variable.

Develop a simple polling (voting) web application according to the following specifications: Initially a page should be presented to the user where he can enter his/her name

Develop a Custom Android App Project Description: We want you to construct a custom Android app. Once user downloads the app and upon installation the user gets push notif

This assignment requires you to design, implement and test a program using Java features from the first half of the subject content. You are required to implement in Java all the c

Project Description: The program must work on all realms, all ladders, all cores (4x realms,2x ladders,2x cores) The program must be unpatchable and undetectable If patche

java code for finding area under curve y=f(x) between x=a and a=b integrate y=f(x) between the li,its of a and b. the area under a curve between two points can be found by doing a

Struts framework is an open-source framework for producing the web applications in Java EE, based on MVC-2 architecture. It uses and extends the Java Servlet API. Struts are robust

Outbound Submissions and Tracking: Project Overview: In the current ARISg environment, expedited reports are qualified and distributed electronically to contacts maintaine

The formula for resistors linked in parallel is a little more complex. Given two resistors along with resistances R1 and R2 linked in parallel the equivalent resistance is given th