What is the major role of ejb 2.x in j2ee? , JAVA Programming

EJB 2.x is broadly adopted server side component architecture for J2EE.

1. EJB is a remote, distributed multi-tier system and allows protocols like IIOP, JRMP, and HTTP etc.

2. It  enables  rapid  development  of  versatile,  reusable,  and  portable  business  elements which are scalable and transactional.

3. EJB is a specified for J2EE servers. EJB elements contain only business logic and system level programming and produces like transactions, instance pooling , security, multi-threading, persistence etc are allowed by the EJB Container and hence simplify the programming load.

4. Message driven EJBs have to allow for asynchronous communication.

 Having  said  that  EJB  2.x  is  a  broadly  adopted  server  side  component,  EJB  3.0  is  having  ease  of development very majorly and has adjusted its model to allow the POJO (Plain Old Java Object) persistence and the new O/R mapping model based on Hibernate. In EJB 3.0, all models of enterprise beans are just POJOs. EJB 3.0 extensively needs Java annotations, which reduces excessive XML based configuration files and reduces the need for the hard component model added in EJB 1.x, 2.x.

 

1291_EJB  in J2EE.png

Posted Date: 7/26/2012 7:31:05 AM | Location : United States







Related Discussions:- What is the major role of ejb 2.x in j2ee? , Assignment Help, Ask Question on What is the major role of ejb 2.x in j2ee? , Get Answer, Expert's Help, What is the major role of ejb 2.x in j2ee? Discussions

Write discussion on What is the major role of ejb 2.x in j2ee?
Your posts are moderated
Related Questions
How to initialize array in java ? Individual elements of an array are referenced through the array name and through an integer that represents their position in the array. The

How to Implementing Interfaces in java? To actually utilize this interface you create a class that involves a public double calculateTariff() method and declare in which the cl

Give an Examples of java.lang.Math Methods Here is an instance program in which exercises most of the routines in java.lang.Math. If your high school math is a little rusty, do

The Java programming language is object-oriented and includes automatic garbage collection. Garbage collection is the process of reclaiming memory taken up by unreferenced objects.

Describe Unbalanced Arrays ? Such as C Java does not have true multidimensional arrays. Java fakes multidimensional arrays by using arrays of arrays. This means that it is prob

Can we use the constructor, instead of init(), to initialize servlet? Ans) Yes. Of course you can use the constructor instead of init(). There's nothing to stop you. But you sho

I have a parser. it is written in Java. I need to add a hash table to it. I am wondering about if you can do it.

Hospital Management System: Technology Used Java-JSP, Apache Tomcat (webserver), SQL SERVER 2000. This project is aimed at developing a web-based system for taking records

In JSP page give the code as given below: enctype="multipart/form-data" name="fileForm" scope="session">     Please select file here that you would like to upload:

What is Testing for Equality in java? Testing for equality is a little trickier. You would expect to test if two numbers are equal through using the = sign. However the = sign