Apache OpenEJB

From Encoresoup - The Ultimate Guide to Free/Open Source Software

Jump to: navigation, search
This article contains content from the Wikipedia article:
Apache OpenEJB
history contributors
Apache OpenEJB
Apache OpenEJB Logo
Developer: Apache Software Foundation
Stable release

3.0  (12 April 2008)

Genre: EJB Container System
License: Apache License 2.0
Website: http://openejb.apache.org


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

The role of OpenEJB is to create a runtime environment to run EJBs and let others access them in a unified way. Regardless of which application wants to access the beans, they all do it the same way, by accessing the appropriate Java Naming and Directory Interface (JNDI) context and looking up a home object. Think about JNDI as a catalog of names with objects bound to them. JNDI Initial Context is the starting point when working with the catalog--looking up a name or accessing the object bound to it. OpenEJB can run in two modes: Local (AKA IntraVM) Server and Remote Server.

OpenEJB 3.0, released in April 2008, adds OSGi support.

Contents

[edit] Major features

  • Supports EJB 3.0, 2.1, 2.0, 1.1 in all modes; embedded, standalone or otherwise.
  • JAX-WS support
  • JMS support
  • J2EE connector support
  • Can be dropped into Tomcat 5 or 6 adding various JavaEE 5 and EJB 3.0 features to a standard Tomcat install.
  • CMP support is implemented over JPA allowing to freely mix CMP and JPA usage.
  • Complete support for Glassfish descriptors allowing those users to embedded test their applications.
  • Incredibly flexible jndi name support allows you to specify formats at macro and micro levels and imitate the format of other vendors.
  • Allows for easy testing and debugging in IDEs such as Eclipse, IntelliJ IDEA or NetBeans with no plugins required.
  • Usable in ordinary JUnit or other style test cases without complicated setup or external processes.
  • Validates applications entirely and reports all failures at once, with three selectable levels of detail, avoiding several hours worth of "fix, recompile, redeploy, fail, repeat" cycles.
  • OSGi support[3]

[edit] Project History

  • Born in Exolab, Dec 1999.
  • Moved to SourceForge.net, Jan 2002.
  • Moved to Codehaus, March 2004.
  • Moved into the Apache Incubator, July 2006.
  • Graduated as Apache OpenEJB, May 2007.

[edit] References

  1. The Geronimo renegade: What's new in OpenEJB 3.0
  2. OpenEJB and Apache Geronimo's EJB implementation An Interview with David Blevins
  3. InfoQ: OpenEJB 3.0 Supports DI of Enums and Collections, OSGi and EJB 3.0 features

[edit] See also

  • Enterprise Java Bean (EJB)

[edit] External links

Template:Java Persistence API

Personal tools

Pico USB Flash Drive (8Gb) [ThinkGeek] USB Memory Watch [ThinkGeek] Micro Spy Remote [ThinkGeek]