Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 10139 invoked from network); 3 Jul 2007 17:21:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 17:21:23 -0000 Received: (qmail 16254 invoked by uid 500); 3 Jul 2007 17:21:25 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 16221 invoked by uid 500); 3 Jul 2007 17:21:25 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 16212 invoked by uid 99); 3 Jul 2007 17:21:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 10:21:25 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=BIZ_TLD X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.134.204.98] (HELO sausalito.ascert.com) (66.134.204.98) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 10:21:21 -0700 Received: from [10.10.10.107] ([10.10.10.107] unverified) by sausalito.ascert.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 3 Jul 2007 10:21:00 -0700 Message-ID: <468A856F.20304@ascert.com> Date: Tue, 03 Jul 2007 18:20:47 +0100 From: Rob Walker User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: Hibernate and OSGi References: <1325682451.20070703191131@aQute.biz> In-Reply-To: <1325682451.20070703191131@aQute.biz> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jul 2007 17:21:00.0431 (UTC) FILETIME=[8699A9F0:01C7BD96] X-Virus-Checked: Checked by ClamAV on apache.org Peter Interesting - thx for the links. 2 or 3 years back we got a hyperjaxb demo going (which uses hibernate) on top of Oscar. It was quite quite crude, and just as you found we needed to include our own Session handling code which was very custom as I recall. It did work though and prove the concept. Would certainly agree with the potential value and usefulness of this as a generalised service. Regards -- Rob Peter Kriens wrote: > As you might be aware off, there is a lot of discussion going on about > how to use hibernate in an OSGi environment. I have been doing some > research for the next OSGi release: > > * http://www.osgi.org/blog/2007/06/osgi-and-hibernate.html > * http://www.osgi.org/blog/2007/07/to-declare-or-not-to-declare.html > > I developed a little extender bundle and a service that allows you to > declare the classes that you want to contribute to a Session Factory. > Hibernate is pretty ghastly with this decentralized model and I also > do not think Spring has an answer for this. > > I think this is a really interesting concept that deserves further > development. The code works, but it is not up to the quality needed to > let other people use it. I wonder if there is someone on this list > that would like to turn this bundle into a Felix project; I think this > would be a great service to the industry. Since I wrote the blog, I > got several questions about the code. It will also require to > bundleize the hibernate code and put it in commons. I have described > this at http://www.aqute.biz/Code/BndHibernate . > > Is there anyone out there that wants to take on this project in Felix > (or elsewhere)? > > Kind regards, > > Peter Kriens > > -- Ascert - Taking systems to the Edge robw@ascert.com +44 (0)20 7488 3470 www.ascert.com