Apache OpenEJB explained

Apache OpenEJB
Developer:Apache Software Foundation
Latest Release Version:7.0.3
Latest Preview Version:7.0.0-M1
Latest Preview Date:-->
Operating System:Cross-platform
Programming Language:Java
Genre:EJB Container System
License:Apache License 2.0

OpenEJB is an open-source, embeddable and lightweight Enterprise JavaBeans Container System and EJB Server, released under the Apache License 2.0. OpenEJB has been integrated with Java EE application servers such as Geronimo[1] and WebObjects.[2]

History

OpenEJB was founded by Richard Monson-Haefel and David Blevins in December 1999. At the time there were new vendors moving in the enterprise Java space seemingly every week. Rather than join the space as a competitor, the project was focused entirely on providing these new platforms with a way to quickly get EJB compliance via plugging OpenEJB into their application server.

The first to integrate OpenEJB in this fashion was Apple's WebObjects in late 2000, released in 2001. When the project moved to Source Forge in 2002 an Apache Tomcat integration was created. Again rather than follow what most in the industry were doing and putting Tomcat into OpenEJB, the project decided to follow its vision and provide an integration that allowed Tomcat users to plug in OpenEJB to gain EJB support in the Tomcat platform. It was in this same vein of putting an EJB container into a Web server that the project developed the Collapsed EAR concept of putting EJBs inside the .war file.

As part of the work that OpenEJB did to prepare for the integration with Apple's WebObjects, a very large integration test suite was developed. The test suite was developed as a generic application since it would need to be run against both WebObjects and other platforms that integrated OpenEJB. For simplicity in the build the test suite based on JUnit, was run with OpenEJB right inside the tests rather than as a separate process, which was easy to do as the container was designed to be plugged into other platforms and make as little assumptions about its environment as possible. It was from this work that the concept of combining an EJB application with plain unit tests and an embeddable EJB container was born. Originally referred to as a "local" EJB container and what lead the project to describe itself as being able to run in two modes: Local and Remote.

In August 2003 the project helped launch the Apache Geronimo application server. Originally a new version of OpenEJB was developed ground up based on Geronimo's GBean architecture and released as OpenEJB 2.0 which lived throughout the Geronimo 1.x cycle. In 2006 when EJB 3.0 was released which had a focus on simplicity, the project went back to its roots and revived the OpenEJB 1.0 codebase, ported select bits of the 2.0 codebase, and eventually brought it up to the EJB 3.0 spec level in what is now called OpenEJB 3.0.

Apache OpenEJB Versions
VersionRelease DateDescription
0.01 (initial release)December 1999Born in Exolab
January 2002Moved to SourceForge.net
March 2004Moved to Codehaus
September 29, 2006Moved into the Apache Incubator
June 1, 2007Graduated as Apache OpenEJB
4.7.3December 4, 2015Latest stable release

Major features

See also

Notes and References

  1. http://www-128.ibm.com/developerworks/opensource/library/os-ag-renegade14/ The Geronimo renegade: What's new in OpenEJB 3.0
  2. http://www.ibm.com/developerworks/opensource/library/os-ag-renegade7/index.html?S_TACT=105AGX44&S_CMP=ART OpenEJB and Apache Geronimo's EJB implementation An Interview with David Blevins
  3. http://www.infoq.com/news/2008/05/openejb-3.0-release InfoQ: OpenEJB 3.0 Supports DI of Enums and Collections, OSGi and EJB 3.0 features