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
Advice is the execution of an aspect. It is something like telling your application of a new behavior. Generally, and advice is inserted into an application at joinpoints

write complete application to play game tictactoe

RMI is a set of APIs that permits to build distributed applications. RMI uses interfaces to explain remote objects to turn local method invocations into remote method invocations.

1. Obtaining the new script: Download and save the attached comment CGI mailer script form-mail2.pl to your server's cgi-bin directory, and change the permissions on the script t

please fix polygon method, code below: /** * @(#)AnimationExtraCredit.java * * AnimationExtraCredit Applet application * * @author * @version 1.00 2013/5/5 */ import jav

Task 1 Create a new project in Eclipse called Assignment 1. Within this project create a package called task01. 1/ Download the class Date (you must use this class - no

INTRODUCTION Mobile computing is everywhere. Even as an increasing population of the world are now using mobile phones, and mobile phone (or smartphone) applications, there is a

In this assignment you work on a set of tasks with the classes Currency, Money and Bank. Money and Currency You have been given a template for the Currency and Money classes (Lab1.

Create a thread in either a C or a Java program and run it. The thread should read a keyboard value "x" and exit from the code, or it can also use an "ESC" to exit. That is, the t

Name Conflicts when importing packages It is possible which you will try to import a package which contains classes in which have the similar name as a class in your own source