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 are the different messaging paradigms JMS supports? Ans) Publish and Subscribe i.e. pub/suc and Point to Point i.e. p2p.

Tasks: Complete the specification of CHATTER, and specify ChatterLists. Implement these ADTs in Java with an abstract class Chatter and a class ChatterList. Use javado

The project is optional. It is worth at least 7 bonus points beyond overall 100 points of this course. The grading will be on a pass/fail basis. Write a Java application (not ap

In this exercise, I want you to generate password based on random number generator. Develop an application that keeps track of the URL, username and password. I have listed few st

Prepare a Game in Corona (for Android and IOS) Project Description: We are looking to prepare a game for mobile platform similar to Zombie Smasher for iOS and Android. Eve

What is the difference between an Interface and an Abstract class? An abstract class can have instance methods that execute a default behavior. An Interface can only declare co

How to Drawing Images at Actual Size Once the image is loaded draw it in the paint() method by using the drawImage() method like this g.drawImage(img, x, y, io) img is a

Project Description: A web developer is required to finish a webcam site with basic account management and voting functionality. The website can make use of a third party fla

You can declare a variable by the var statement such as: var strname = some value You can also declare a variable with simply assigning a value to the variable. Although, if

1. Pre-translated: Before the JSP file has been compiled and translated into the Servlet. 2. Translated: The JSP file has been compiled and translated as a Servlet. 3. I