|
Page Edited :
OPENEJB :
OpenEJB 1.0 Beta 1
OpenEJB 1.0 Beta 1 has been edited by David Blevins (Sep 01, 2005). Content:DownloadNew FeaturesEJB 2.0 Local interface support OpenEJB now has support for EJB 2.0 Local Interfaces. This is very nice for when OpenEJB is combined with Tomcat or embedded in another application where Remote interfaces are not always needed. See the "Moviefun" example in the source or binary distributions for how to use them. Note that no other EJB 2.0 features (such as CMP 2 or MDBs) Collapsed EAR supportCollapsed EARs are an OpenEJB invention allowing you to combine your ejbs and servlets in the same archive and classloader. This is essentially a new way to embed OpenEJB into Tomcat so that OpenEJB and your EJBs are loaded only into your webapp. Combine this with an embedded database and you have a complete mini-J2EE environment that can be hosted in your Tomcat webapp space. See the "Moviefun" example in the distribution which will be online for a short while here: http://demo1.openejb.org/moviefun (visit http://demo1.openejb.org/moviefun/setup.jsp Unpacked EJB Jar supportIt is now possible to deploy and run EJB apps that are not in a *.jar archive. For example, for ejb app located at:
Simply add a Deployments declaration to the openejb.conf like the following:
Auto Deploy for Simple AppsIn OpenEJB 1.0 beta1, the use of openejb-jar.xml is not required for ejb-jar.xml files that do not contain CMP EntityBeans or ejbs with multiple datasource references. Mac OSX UsersThe speed of the Remote Server has been improved tremendously to compensate for differing default parameters for TCP Socket creation and closing in the Mac OSX Java VM. This makes sequential calls from a Remote Client to the Server several times faster. Upgrade NotesCMP config changeIn 0.9.2 and before, the JDO database was using the private JNDI namespace of the very first CMP accessed to grab a datasource and hold onto it for use on all requests into the CMP container. This was configured with something like this: cmp.global_database.xml <database name="Global_TX_Database" engine="instantdb"> <jndi name="java:comp/env/jdbc/basic/entityDatabase" /> <mapping href="" class="code-quote">"conf/default.cmp_mapping.xml" /> </database>
|
Unsubscribe or edit your notifications preferences
