Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Scott Delap on Sep 11, 2006 08:19 AM
The EasyBeans EJB3 container project recently announced support for deploying the container as a set of OSGi modules. The name EasyBeans comes from the EJB 3.0 focus of ease of development. EasyBeans is a continuation of work from the JOnAS open source application server. Users complained that the EJB container was too closely tied to the application server. Separating out EasyBeans allows it to be used in other application servers, standalone mode, in other OSGi containers, and for JUnit/TestNG testing. InfoQ sat down with Florent Benoit of Bull R&D to dicuss this new feature as well as how EasyBeans compares to other EJB3 implementations such as JBoss and Gernonimo.
JOnAS 4.x is a J2EE 1.4 certified application server and it runs with the JDK 1.4. EasyBeans and EJB 3.0, as part of Java EE 5, has features requiring a new JDK version, the JDK 5.0.We then asked Benoit about EasyBeans in comparison to other open source EJB implementations such as Geronimo, JBoss, and Glassfish. He replied that JOnAS has been an open source implementation since 1999, before projects such as Glassfish and Geronimo. A large community in the US, Europe, and Asia contributes on EasyBeans and JOnAS development with deployments in banks, goverment, defense, etc. One leading European telecom operator uses JOnAS for 1/3 of its applications. EasyBeans is a natural progression of the support provided in previous versions of JOnAS for EJB's. In addition Benoit commented that the upcoming version features numerous enhancements over:EasyBeans is then available for JOnAS 4.x with a resource adapter. This allows to use EasyBeans and EJB 3.0 by using a JDK 5.0 and it's easy to enable or disable EasyBeans by adding or removing this resource adapter (.rar file). For example if developers switch from JDK 5.0 to JDK 1.4.
The next major version of JOnAS (JOnAS 5.x / Java EE 5) will provide EasyBeans by default for its EJB3 container.
As EasyBeans and JOnAS have two separated codebase, the projects can have a different lifecycle and then EJB3 container can be upgraded without upgrading the whole platform.
Right now, EasyBeans provides some features that other EJB implementation may not have like the OSGi bundles (This is described at the end of this interview), bytecode enhancement using ASM ObjectWeb tool, easy deployment by providing a Smart InitialContext factory for clients downloading runtime classes on the server, easy configuration by using an easy-to-understand XML configuration file, etc. Also, for developers and contributors, the source code has a lot of comments which is not the case for all open source implementation.
The conversation then shifted to JPA support. EasyBeans works with several entity managers such as Hibernate and Oracle Toplink Essentials. The ObjectWeb community has also been continuing development of their Speedo JDO solution as a JPA provider as well. The development version currently is 90% complete with a new release scheduled before the end of the year.
Next we asked Benoit about the recent OSGi support in EasyBeans:
OSGi is mainly used in the embedded domain but begins to be the basis of plugin application (like Eclipse for instance) at server level. It is the heart of dynamic and adaptable service oriented architecture which can bring many benefits:
- On demand building of the application.
- Deployment capabilities (installation, un-installation of the components).
- Component lifecycle (start, stop of the components).
- Update of a part of the application during runtime.
By relying on this framework, EasyBeans will benefit from the dynamic deployment (for the server, the associated services and the beans) and assembly of OSGi services to provide an EJB3 container service adaptable on demand.
Such a work has already been experimented on JOnAS and is available at JOnASOnDemand. As future JOnAS versions will be available on top of OSGi, it will allow a smooth integration of the EJB3 container technology inside the Java EE application server. BULL, the major contributor of JOnAS application server is also member of the JSR-291 , which address dynamic component framework / OSGi.
Finishing the interview, Benoit commented on the relationship between using OSGi as a building block for server deployed applications such as WAR's and having the entire EJB and/or appserver implementation available as a set of OSGi bundles. JOnAS 5.x and upcoming versions of IBM's Websphere will be based on OSGi. Benoit mentioned that a modular application server allows the developer to deploy only a subset of the application server if needed reducing memory requirements. OSGi support also allows the application server to be deployed in other OSGi containers such as Equinox which is included in the Eclipse 3.2 IDE. This should allow developers to develop, deploy and test full EJB 3.0 applications by deploying EasyBeans as an Eclipse Plugin. No external application server would be needed, speeding up the deployment and testing cycle.
Usage Landscape: Enterprise Open Source Data Integration
Performance Management and Diagnostics in Distributed Java and .NET Applications
Open Source Middleware Reference Architecture Whitepaper
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
No comments
Watch Thread Reply