Overview

Configuration

Servers

Integrations

Community

Related Projects

Index

Feeds

 

Welcome to Apache OpenEJB!

Apache OpenEJB is an embeddable and lightweight EJB 3.0 implementation that can be used as a standalone server or embedded into Tomcat, JUnit, TestNG, Eclipse, IntelliJ, Maven, Ant, and any IDE or application. OpenEJB is included in Apache Geronimo, IBM WebSphere Application Server CE, and Apple's WebObjects.

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, Idea Intellij 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.

News

Russ Jackson writes on his success getting Tomcat, OpenEJB and Jersey all hooked up and running together. More than anything, it's great to see people exploring this stack. Certainly there are cool things that can be done with the three. A note on the @EJB injection; if there is some way to extend or enhance the injection that Jersey does, it would definitely be possible to add support for @EJB, @Resource, @PersistenceContext and more to Je... (more)

Posted at 23 Dec @ 1:00 PM by dblevins | comments

The first version (1.0.0.alpha) of the OpenEJB Eclipse Plugin has now been released! This release includes:

* WTP support for the OpenEJB standalone server
* EJB 2.1 deployment descriptor to EJB 3 annotation conversion wizard
* Error highlighting and quick fix for problems with EJB3.1 @DependsOn annotation
* OSGi wrapper to use OpenEJB in Equinox, to help build RCP applications

The plugin is available for download here: http://apache... (more)

Posted at 02 Nov @ 9:28 PM by jgallimore | comments

Apache OpenEJB 3.1.2 has been released! This release is a short 4 months after our prior 3.1.1 release and is largely focused on bug fixes and small improvements with a couple new features. Scanning support for JSF 2.0 ManagedBeans allows for a nice OpenEJB/Tomcat/Mojarra stack. Database passwords listed in the openejb.xml can now be encrypted using our new 'cipher' command line tool. Focus areas of improvements/fixes include @LocalCli... (more)

Posted at 20 Oct @ 4:00 AM by dblevins | comments

We've had some download issues with the original screencast, so we have uploaded it to a video sight and are reposting it to the blog.

This screencast shows how you can turn the plain, non-javaee version of Eclipse into an EJB testing machine. The tutorial walks you through installing Eclipse, adding OpenEJB to your project's classpath, and creating a simple EJB with a JUnit unit test.

EJB Unit Testing with Eclipse and OpenEJB... (more)

Posted at 05 Aug @ 7:00 PM by dblevins | comments

Magnus K Karlsson writes Effective Unit Testing EJB 3.0 with OpenEJB.

As you state quite well, Mangus, many people have had a bad experience with EJB 2.1 and although simpler EJB 3.0 is not so easily testable without a container. Unless of course you use an embedded EJB container like OpenEJB.

We greatly appreciate blog posts like yours as many people try and fail with a few approaches before finally finding OpenEJB. So many more peo... (more)

Posted at 05 Aug @ 4:00 PM by dblevins | comments

The Apache OpenEJB community is proud to release OpenEJB 3.1. This release contains significant enhancements, improvements, new functionality and allows developers to get early access to some key parts of EJB 3.1. In addition to the embeddable EJB container and Collapsed EAR (ejbs in .war files) functionality which have been long standing OpenEJB features, now slated for EJB 3.1, this release contains full support for the new EJB 3.1 Singleton Session bean type. …

Read more…

Posted at Nov 05, 2008 by David Blevins | 0 comments | Edit

Activity

Closed

Opened

EJB3 Examples

Looking for an example of how to use an EJB 3.0 or OpenEJB feature?

Check out the newly revised examples. Examples include:

OpenEJB Forums

The Nabble site as wonderful support for turning regular mailing lists into online forums. We've setup OpenEJB and our forums are now open for business. You can easily search and post to any of our mailing lists via any of the links below:

Site Updates
Recently Updated
by David Blevins (20 Jan)
EJB 3.1 RoadMap (OpenEJB)
by David Blevins (17 Jan)
January2010 (OpenEJB)
by David Blevins (09 Nov)
Home (OpenEJB 3.0.x documentation)
by David Blevins (20 Oct)
Download (OpenEJB)
by David Blevins (20 Oct)
OpenEJB 3.1.2 (OpenEJB)
by David Blevins (20 Oct)
OpenEJB 3.1.1 (OpenEJB)
by David Blevins (20 Oct)
Common DataSource Configurations (OpenEJB 3.0.x documentation)
by David Blevins (20 Oct)
DataSource Password Encryption (OpenEJB 3.0.x documentation)
by David Blevins (20 Oct)
Configuring DataSources (OpenEJB 3.0.x documentation)
by David Blevins (11 Sep)
TestCase with TestBean inner-class (OpenEJB 3.0.x documentation)
by David Blevins (11 Sep)
Application discovery via the classpath (OpenEJB 3.0.x documentation)
by Jean-Louis MONTEIRO (11 Sep)
Spring EJB and JPA (OpenEJB 3.0.x documentation)
by David Blevins (29 Aug)
Local Server (OpenEJB)
by David Blevins (29 Aug)
Embedding (OpenEJB 3.0.x documentation)
by David Blevins (29 Aug)
Embedding (OpenEJB)
   

Apache OpenEJB is an project of The Apache Software Foundation (ASF) - Website Privacy Policy -
Site Powered by Atlassian Confluence .
[ edit ]