Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

December/2024
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22 232425262728
293031    

[ Archives News
for 'Java Technology' ]

home > news > java technology > deploy hibernate in osgi using a features.xml file!!!

Deploy Hibernate In OSGi using a features.xml file!!!

Hibernate and OSGI Implementation Made Simple Last April I kicked off FossESI to discuss how to take existing Java applications built using older technologies and implement them using new technologies like OSGi, Spring, Camel and NOSQL databases.  At the time of the kickoff, we intended to begin comparing and contrasting 3 NOSQL databases.  And just after that started, I got a real-life opportunity to help convert an existing application over to OSGi.  What I thought would be a breeze turned out to be quite an effort!  What I'll be doing over the next few months is talking about some of the lessons I learned, some of the quirks of Karaf and OSGi, and some of the tips and tricks I learned.  This week, I'll talk about how to implement Hibernate 3.3.2.GA inside of Karaf 1.6.0 without creating any new bundles! One of the major contributors to the OSGi movement is Peter Kriens who created an excellent tool called BND.  The good folks at apache-felix then created a maven-plugin that makes quick work of bundling apps, but I'll go over that in a later blog.  The reason I bring this up here is that a while ago Peter wrote www.aqute.biz/Code/BndHibernate which discusses how to create a stand-alone bundle with all of Hibernate 3's goodness wrapped up inside of it.  This is an excellent approach, but it has a few drawbacks: It requires the creation of a new .jar file which m...


Date: September, 16 2010
Url: http://www.java.net/blog/fossesi/archive/2010/09/16/some-results-converting-large-standard-java-app-set-osgi-bundles-bet


Others News

©2002-2019Java-Virtual-Machine.net website designing software | easy website builder | wowslider.com | css menu maker | html slider