Difference between ejb 2.0and ejb 1.1, JAVA Programming

Assignment Help:

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.

 


Related Discussions:- Difference between ejb 2.0and ejb 1.1

Static variable, import java.text.NumberFormat; import java.util.Locale; p...

import java.text.NumberFormat; import java.util.Locale; public class Client {    // instance data    private String name;    private long income_this_year;    private double perce

Page replacement algorithms code in nachos, what is the code for page repla...

what is the code for page replacement algorithms in nachos os

Life span of variables, While you declare a variable in a function, the var...

While you declare a variable in a function, the variable can be accessed within that function only.  While you exit the function, the variable is destroyed.  These variables are ca

Explain java.lang.string library in java, Explain java.lang.string library ...

Explain java.lang.string library in java? Strings are objects. Specifically they're instances of the class java.lang.String . This class has several methods which are useful f

Create an online multiple choice quiz, Create an online multiple-choice qui...

Create an online multiple-choice quiz using JSP/Servlets technology. The quiz should draw questions from an array of predefined questions (at least fifteen). You should use a meani

Loop statements, A loop is a set of commands which executes repeatedly till...

A loop is a set of commands which executes repeatedly till a denoted condition is met. JavaScript supports two loop statements: for & while. Additionally, you can employ the break

I need integrate template to java system, I need integrate template to Java...

I need integrate template to Java system Project Description: We have around 60 files for a java backend and want to implement a template, the system is complete it requires

Implement queues - linked list, Implement Queues / Linked List Project D...

Implement Queues / Linked List Project Description: In this project, two kinds of queue are implemented: LinkedQueue implements FIFOQueueInterface { .... } and LLQueueItr imp

HOW TO MAKE A TRANSCRIPT, Write a java program that computes the scores of ...

Write a java program that computes the scores of 10 students in the following units; 1.Java 2.PHP 3.Python 4.C++ 5.Perl Generate a transcript.

Design a game in java, The game of Kala is played on a rectangular board: ...

The game of Kala is played on a rectangular board: In front of each player are six pits numbered 1 to 6 (called the 'side pits'). To the right of a player's side pits is a

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd