What's New in EasyBeans 1.0M3 :
For the previous 1.0M2 release, there was a howto about using Google Web Toolkit and EasyBeans:
http://www.easybeans.org/doc/howtos/en/integrated/howtos.htmlA demo is now online at
http://demos.objectweb.org/ [Direct link:
http://demos.objectweb.org:8180/sudoku ]
EasyBeans, very Easy !
The main focus of this release was about Ease of Configuration, Ease of Use and Ease of Integration !
Configuration:
EasyBeans is now using a new configuration file named easybeans.xml.
It is useful when EasyBeans is embedded in Tomcat or other components.
Here is a fragment of the default configuration file:
<!-- RMI/JRMP will be used as protocol layer -->
<rmi>
<protocol name="jrmp" port="1099" hostname="localhost" />
</rmi>
To change the port, it is now very easy !
Full example available in EasyBeans source code
http://fisheye.easybeans.org/browse/EasyBeans/trunk/easybeans/src/java/org/objectweb/easybeans/server/easybeans-default.xml?r=1063&%40annotateMode=none
Client usage:
To make easier the use of client with EasyBeans, a new RMI factory is now provided.
It is called Smart Factory as it downloads from the server side the required classes.
The only classes that are needed for the runtime are:
- The client class
- The API/classes used to compile the client (may include some Java EE APIs)
- The jar containing the smart factory. (ow_easybeans_component_smartclient.jar (very small)
Then, the InitialContextFactory should be set to:
org.objectweb.easybeans.component.smartclient.spi.SmartContextFactory
And the PROVIDER_URL with "smart://localhost:2503" which is the default setting.
Integration:
Stay tuned for a news about EasyBeans/deployment in the coming days :-)
Issues / Tasks / Bugs
Tasks can be browsed on the JIRA issue web site:
http://jira.easybeans.org/secure/ReleaseNote.jspa?projectId=10000&styleName=Html&version=10003
All JIRA tasks closed:
Bug
- [EZB-35] - ClassNotFound exception may happen when creating EJB instance
- [EZB-39] - Cannot stop EasyBeans smoothly when JMS is activated
- [EZB-40] - MBeans are not unregistered when EjbJars are undeployed
- [EZB-46] - @Local interface (with empty value) in session bean classes
- [EZB-66] - EasyBeans cannot stop properly
- [EZB-68] - ArchiveManager search algorithme should be modified to support inheritence matching
- [EZB-97] - RMI unmarshalling is failing with directory containing spaces in the name
- [EZB-101] - ComponentManager fails with a NPE
Improvement
- [EZB-32] - Improve Easybeans to ease OSGi port
- [EZB-34] - Allow to use archives that are not jar file or directories (like OSGI bundle, etc.)
- [EZB-65] - Remove unneeded methods from EZBArchive
- [EZB-67] - ArchiveManager should be able to unregister EZBArchiveFactory
- [EZB-96] - Logger traces prints the wrapper class and not the caller class/method
- [EZB-110] - Log less infos by default when using JDK logger
Task
- [EZB-4] - Create an EasyBeans configuration file
- [EZB-25] - Support of @ApplicationException annotation
- [EZB-31] - Upgrated to TestNG 5
- [EZB-45] - Handle of exception in business methods (chapter 14.3)
- [EZB-86] - Tests for Message Destination References.
- [EZB-99] - Transform hardcoded embedded services into pluggable components
- [EZB-104] - Upgrade to Joram 4.3.20
- [EZB-106] - Upgrade to commons-modeler 2.0
- [EZB-107] - Upgrade to commons-logging 1.1
- [EZB-108] - Tests with Oracle Toplink Essentials 2.0build11
- [EZB-109] - Create a client that ask the server for each class it needs, so libraries on the client's side are minimal