![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Home | News | FAQ | Download | Lists | Issues |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||
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
News
We've put together the first of hopefully many screencasts to walk you through various aspects of using OpenEJB. 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 Enjoy!
The Apache OpenEJB team is excited to announce the release of OpenEJB 3.1.1. This release includes some great enhancements for the embedded testing scenarios and general EJB programming. Notable improvements include: - Dependency injection for test cases and clients of the embedded ejb container via new @LocalClient annotation.
The OpenEJB 3.1.1 binaries have been spun have gone through some rigorous testing and should be available in the next day or two. Check back tomorrow for some nice new OpenEJB 3.1.1 binaries and some great new features like alternative deployment descriptors for testing, test case injection, secure webservices, global openejb namespace, several new examples and more. Recently we added the facility to use the mappedName attribute from a @Stateful, @Stateless or @Singleton annotation to add a global JNDI name for your bean. This is pretty simple to use, simply add the mapped name to your bean like so:
@Stateless(mappedName="MyCalculatorBean")
public class CalculatorImpl implements CalculatorRemote, CalculatorLocal {
public int sum(int add1, int add2) {
return add1+add2;
}
public int multiply(int mul1,... (more)
To ease the burden in looking up things from OpenEJB's internal JNDI tree, we've added a new "openejb" JNDI URL prefix which can be used in any context to do lookups. The following will work in a TestCase or EJB or any code running in the same VM as the EJB Container.
InitialContext context = new InitialContext();
TransactionManager tm = (TransactionManager) context.lookup("openejb:TransactionManager");
DataSource dataSource = (DataSource) ... (more)
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.... ActivityClosed
Opened
|
![]() |
Site Updates
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: |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||