ADVANTAGES OF EJB
By: aathishankaran in Java Beans Tutorials on 2007-02-20
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.
<< Reusable component
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
- Data Science
- React Native
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Creating a JavaBean to Connect with Google API
Spring Vs EJB ( A feature comparison)
What is EJB server and what are EJB Components?
Java Beans and the Expression Language
A sample that shows Java Beans, Servlets and JSP working together
Design Patterns for Properties in a Java Bean
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target