| By Dario Laverde | Article Rating: |
|
| January 22, 2008 11:00 AM EST | Reads: |
30,359 |
OpenEJB has been around for seven years and is one of the few standalone and embeddable EJB containers. Useful mainly for unit testing EJB beans (embedding the containers in unit tests), OpenEJB is also available as a Tomcat plug-in. Which means you can call EJB beans from your Web application's servlets. This fact alone opens up new possibilities for migrating current Web applications to JEE 5 in addition to facilitating development and testing using the popular Apache Tomcat server instead of a full JEE application server, even if you eventually deploy to a dedicated JEE application server. OpenEJB 3 supports JPA out-of-the-box (and CMP by mapping to JPA) and uses the Apache OpenJPA implementation. JMS support is also included in ActiveMQ and recently Web Services annotation support has been added to hook up with a Web service provider like Axis2. There's built-in database support via hsqldb but it's easy to configure any database server via the conf/openejb.xml configuration file.
OpenEJB was started by David Blevins and Richard Monson-Haefel and initially supported EJB 1.1 and part of the EJB 2 specification. In 2006 OpenEJB 1.0 was released completing this initial 0.9.2 "branch," while work continued on the EJB 3 version targeting EJB 3. A couple of the OpenEJB 1.0 features became casualties as a result of changes required to support the move from Geronimo 1.0 to 2.0 (the OpenEJB 2.0 internal equivalent), so the team went back to the add embeddability as well as Tomcat plugability recently, upgrading the 1.0 release to a OpenEJB 3.0 beta release while graduating from Apache incubation. Despite the beta status, the OpenEJB 3 container is certified via Geronimo 2.0's JEE 5 certification back in June, making it usable in production environments as a standalone server. What's new and what I'll go into detail here is the Tomcat plug-in. Currently OpenEJB 3.0 supports only Tomcat 6.x but support for Tomcat 5.5 is being added.
Published January 22, 2008 Reads 30,359
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Dario Laverde
Dario Laverde is a Java architect, lecturer, author, and JUG leader. He has been developing in Java since 1995.
- Cloud People: A Who's Who of Cloud Computing
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Learn How To Use Google Apps Script
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloud Expo New York: API Security, Does My Business Need an OAuth Server?
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- Measuring the Business Value of Cloud Computing
- Cloud Expo New York: Build Modern Business Applications
- Cloud Expo New York: Using APIs for Better Business Partnerships
- Five Big Data Features in SQL Server
- Cloud Expo New York: Evolving Cloud Computing Models
- Cloud People: A Who's Who of Cloud Computing
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Learn How To Use Google Apps Script
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloud Expo New York: API Security, Does My Business Need an OAuth Server?
- Cloudant to Exhibit at Cloud Expo & Big Data Expo New York
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo New York: Basics of SSD Technology and Its Use in Cloud
- The Accessibility of the Cloud
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- What CIOs Need to Know About Enterprise Virtualization
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- Where Are RIA Technologies Headed in 2008?





















