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
What is the purpose to use the enableEvents() method?

1. Lifecycle Management : Individual enterprise beans do not accept to explicitly manage process allocation, object activation, thread management, or object destruction. The EJ

What do you mean about networking support in Java ?

Explain primitive data types in java? Java's primitive data types are extremely similar to those of C. They involve boolean, byte, short, long, int, float, double, and char. Th

What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f

How is method overriding different from method overloading? Overriding involves the creation of two or more concepts with the same name and same signature in different classes

i need a quote on java assignment carlosfreire3@hotmail.com

How to Begin a Variable Name with a Number? If you need to starts a variable name along with a digit, prefix the name you'd like to have (e.g. 8ball) along with an underscore,

On the surface, an application context is similar as a bean factory. But application context offers much more.. ? Application contexts give a means for resolving text messages,

I need Android Kiosk Mode Project Description: I need an Android platform developer to develop an app when device start it start into kiosk mode. Only browser window open a c