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
there is a pebble merchant. he sells the pebbles,that are used for shining the floor.his main duty is to take the length of the room side but he sometines mistakes doing that and m

You must design, code and demonstrate a J2ME program (a program capable of running on mobile telephones) according to the specification given in the next section.  The overall cour

The basic system has to offer the following options: 1. Exit the program 2. Enter new customer The program prompts for the details of a new customer, assigns a unique cust

What is Bullseye explain with an example? This is a easy applet that draws a series of filled, concentric circles alternating red and white, instead a bullseye. import java.ap

Write a program to explain do while loop in Java ? // This is the Hello program in Java class Hello { public static void main (String args[]) { int i = -1; do { if (

Explain the Rules for toString() Methods ? toString() methods should return a single line of text that does not contain any carriage returns or linefeeds. toString() methods

What are Trojan Horses? Trojan Horses are unlike viruses usually they are stand-alone programs. The look such as what they are not. They appear to be something harmless and int

What is the difference between inner class and nested class? When a class is explained within a scope od another class, then it becomes inner class. If the access modifier o

Rational Unified Process (RUP) is a normal framework that may be used to define a development process. The software development life cycle has got 4 parts in the following o

THE FOLLOWING PROGRAM SHOULD BE JAVA IN ECLIPSE Minimal Spanning Tree Decreasing Edge Dismissal Reverse-delete algorithm. Develop an implementation that computes the MST as fol