You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by jerome moliere <je...@gmail.com> on 2012/03/15 00:11:52 UTC

OSGi integration : what's next?

Hi all,
I am going back to Cayenne , product I used 5 or 6 years ago...
I am an addict of OSGi and for a new project  I wish to use an ORM as
the data layer inside a minimalist OSGi platform (Felix)
I don't want to use the Blueprint specification (integrating JPA with
Spring syntax) so I 'd like to know what is the current state of the
Cayenne inside OSGi ?
I 've found messages from 2009 dealing with that subject but looking
inside the jar files I can't see any meta data related to OSGi...
Maybe that this question would suit better to the dev list ?

I am ready to contribute to this subject if you find some interest ...;
Thanks for any pointer, feedback ....

Regards

J.MOLIERE - Mentor/J
auteur Eyrolles
blog: http://romjethoughts.blogspot.com
OSGi book available now!!!

Re: OSGi integration : what's next?

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Jerome,

I'd certainly want Cayenne to be packaged in OSGi-friendly manner. As you've mentioned, others have reported success using Cayenne with OSGi (Jeremias Maerki message here http://markmail.org/message/admkhniktnvnfid5 ) , but there were no contributions back to the project. We'd gladly accept such contribution if it shows up ;)

BTW, now with Cayenne 3.1 the entire configuration is based on dependency injection, with configuration organized into separate "module" Java classes, allowing service overrides, etc. So I suspect the scenario described by Jeremias should be easy to implement in 3.1. 

If you are interested, let's certainly continue this conversation on dev.

Cheers,
Andrus

---------------
Andrus Adamchik
Apache Cayenne ORM: http://cayenne.apache.org/
Twitter: http://twitter.com/ApacheCayenne

On Mar 14, 2012, at 7:11 PM, jerome moliere wrote:

> Hi all,
> I am going back to Cayenne , product I used 5 or 6 years ago...
> I am an addict of OSGi and for a new project  I wish to use an ORM as
> the data layer inside a minimalist OSGi platform (Felix)
> I don't want to use the Blueprint specification (integrating JPA with
> Spring syntax) so I 'd like to know what is the current state of the
> Cayenne inside OSGi ?
> I 've found messages from 2009 dealing with that subject but looking
> inside the jar files I can't see any meta data related to OSGi...
> Maybe that this question would suit better to the dev list ?
> 
> I am ready to contribute to this subject if you find some interest ...;
> Thanks for any pointer, feedback ....
> 
> Regards
> 
> J.MOLIERE - Mentor/J
> auteur Eyrolles
> blog: http://romjethoughts.blogspot.com
> OSGi book available now!!!
>