:: News
:: Mar 10, 2008 .::. 1.0 RC3 available
Hello,
A new release
candidate (1.0.0 RC3) of the OW2 EasyBeans
product (EJB 3 container) has been released.
EasyBeans can be
embedded in JOnAS application server, Apache Tomcat application
server, Jetty application server, on an OSGi gateway (by using
EasyBeans OSGi bundles) or run in standalone mode.
EasyBeans is
bundled with either Hibernate
Entity Manager, Apache
OpenJPA or TopLink
Essentials as persistence provider.
Here are the guides:
Getting
started with JOnAS 4.x (tested with 4.7.8 and 4.8.6 and 4.9.1)
Getting
started with Tomcat 5.5.x and 6.0.x (tested with 5.5.26 and 6.0.16)
Getting
started with Jetty 6.1.x (tested with 6.1.8)
Getting
started with the EasyBeans OSGi bundles
Note: EasyBeans is
already bundled in the OW2 JOnAS 5.0 application server.
EasyBeans
is also working in standalone mode (Uberjar
packages are available)
The documentation is available on
the EasyBeans
documentation website. (HTML or PDF)
The Release Notes are
available online at :
http://www.easybeans.net/xwiki/bin/view/News/Release1_0_RC3
Download
A new EasyBeans version is out and is available in the Downloads section or in the maven repository.
Download the Release Candidate 3 version Now !
New features
Deployment Descriptor
A new specific deployment
descriptor file for EJBs named META-INF/easybeans.xml can be used.
This allows to define some settings that are not part of the standard
deployment descriptor like the pooling. Pool can be also configured
by using specific annotations like @Pool.
The Pool example is
illustrating the use of this specific deployment descriptor.
CXF
For
people interested in EJB3 and JAX-WS, the EasyBeans/CXF project has
been mavenized and updated to the latest Apache CXF version by
Guillaume.
It is available in the list of downloads or through
maven2 repository:
http://repo1.maven.org/maven2/org/ow2/easybeans/extensions/ow2-easybeans-cxf/1.0.0.RC3/
More
details on EasyBeans/CXF can be found on the wiki page:
http://wiki.easybeans.org/xwiki/bin/view/Main/JAXWS
Persistence
Persistence
Providers have been updated to their latest versions.
Migration
Configuration:
Some hardcoded values are now available
through the easybeans.xml configuration file.
For example,
within JOnAS 4.x the xml configuration will use the following
<config> element:
<easybeans
xmlns="http://org.ow2.easybeans.server">
<!--
No infinite loop (daemon managed by JOnAS): wait="false"
Enable MBeans: mbeans="true"
Disable
the naming: naming="false"
Use JOnAS JACC
provider and not EasyBeans JACC: jacc="false"
Use EasyBeans file monitoring to detect archives: scanning="true"
Using JOnAS JMX Connector: connector="false"
Enable Deployer and J2EEServer MBeans: deployer="true"
& j2eeserver="true"
>
<config
wait="false"
mbeans="true"
naming="false"
jacc="false"
scanning="true"
connector="false"
deployer="true"
j2eeserver="true"
/>
....
</easybeans>
While for
Tomcat/Jetty the xml configuration will use the following
<config> element:
<easybeans
xmlns="http://org.ow2.easybeans.server">
<!
No infinite loop (daemon managed by WebContainer): wait="false"
Enable MBeans: mbeans="true"
No
EasyBeans naming, use WebContainer naming: naming="false"
Use EasyBeans JACC provider: jacc="true"
Use EasyBeans file monitoring to detect archives: scanning="true"
Use EasyBeans JMX Connector: connector="true"
Enable Deployer and J2EEServer MBeans: deployer="true"
& j2eeserver="true"
-->
<config
wait="false"
mbeans="true"
naming="false"
jacc="true"
scanning="true"
connector="true"
deployer="true"
j2eeserver="true"
/>
...
</easybeans>
Mapping:
The
xml mapping file describing the class/attributes to set when
analyzing the of the configuration file of EasyBeans is now using a
schema available at
http://easybeans.ow2.org/xml/ns/xmlconfig/xmlconfig-mapping_1_0.xsd.
If other mapping files are used, they need to be updated with this
schema. Mapping files are starting with the following
header:
<xmlconfig-mapping
xmlns="http://easybeans.ow2.org/xml/ns/xmlconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://easybeans.ow2.org/xml/ns/xmlconfig
http://easybeans.ow2.org/xml/ns/xmlconfig/xmlconfig-mapping_1_0.xsd">
Smart
Bootstrap
In addition to the Smart Factory, a Smart Bootstrap
has been provided to launch a client by downloading core classes from
the server side.
Mailing list
Stay tuned on EasyBeans with the easybeans-announce mailing list : http://mail.ow2.org/wws/subrequest/easybeans-announce
Release Notes:
Bug
- Error during build EasyBeans at JVM 1.6
- Problem with security propagation on JOnAS 5.0.0 (not 4.x)
- NPE in Mail component
- Resources with type javax.resource.cci.ConnectionFactory are not
- @HandleChain for web services annotated is not used
Improvement
- login module to set EB SecurityContext with a given Subject
- Refactor Java EE glue in its own package
- URLMapper and EasyBeansTransportFactory double usage
- Allow to specify specific DD in EasyBeans ant tasks
New Feature
- Ability to setup EJB pool size in ejb Deployement Descritptor, and
Task
- Support for message-driven element in the deployment descriptor.
- Merge the branch EZBcluster with the trunk
- Use of mappedName in @EJB annotation
- Cmi 2.0-RC4
- Library ow2-util 1.0.3
- Refactor easybeans-cxf module to use maven
- Rename easybeans-cxf packages from org.objectweb. to org.ow2.
- Add example for pool configuration
- Provide a SmartBootstrap
- Update CXF to version 2.0.4-incubator
- Upgrade to OpenJPA 1.0.2
- Upgrade to Toplink Essentials 2.1-23
- Allow to set WorkManager settings in Joram component
- Upgrade to Hibernate 3.2.6.ga
Best Regards,
Florent