By: aathishankaran  

¨     EJB provide developers architectural independence

EJB insulates developers from the underlying middleware, since the only environment an EJB developer sees is the Java environment.  It also helps the EJB server/container vendor to change and make improvements on the underlying middleware layer without affecting a user’s existing enterprise applications.

¨     WORA for server side components

                     Since EJB is based on Java technology, both the developer and the user are guaranteed that their components are Write Once, Run Anywhere (WORA).  As long as an EJB Server faithfully conforms to the EJB specification, any EJB application should run within that server.

¨     EJB establishes Roles for Application Development

    The EJB specification assigns specific roles for project participants charged with enterprise application development utilizing EJB.

    The server vendor can take care of providing support for complex system services and make available an organized framework for a Bean to execute in, without assistance from Bean developers.

¨     EJB provides Distributed Transaction support

    EJB provides transparency for distributed transactions.  This means that a client can begin a transaction and then invoke methods on Beans present within two different servers, running on different machines, platforms or JVM.

¨     It helps create Portable and Scalable solutions

    Beans conforming to the EJB API will install and run in a portable fashion on any EJB server.

¨     It provides of vendor specific enhancements

                           Since the EJB specification provides a lot of flexibility for the vendors to create their own enhancements, the EJB environment may end being feature rich.    

Archived Comments

1. Lyn3mndajep
View Tutorial          By: Lyn3mndajep at 2017-07-07 03:42:50

2. all d best jnec cse te1,te2 and shift
View Tutorial          By: smith ghule at 2014-06-13 04:08:38

Most Viewed Articles (in Java Beans )

Latest Articles (in Java Beans)

Comment on this tutorial