Thanks for that really thorough response.  At this point, mentally I'm
breaking the problem into two categories:
1) Libraries/projects who are receptive to OSGi compatibility and are
interested in supporting OSGi.  Restlet is one of these.  Here we can work
with/within the project to include better OSGi awareness that fits the
design of the project ... I know Jerome has been working on it.  Guillaume
Nodet's solution might be an acceptable band-aid in these cases ... but the
lifecycle issue you point out is a bigger nut to crack.

2) Libraries/projects which dont give a hang about OSGi compatibility,
lifecycle, etc.  I fear the JSR223 community might be one of these ... at
least I don't see a useful solution emerging until at least Java 8.  I
suspect I'm going to be maintaining substantially different, alternate
bundle-friendly versions of several such libraries for some meaningful
calendar time.  Might as well just step up and do it.  Hopefully if these
get some popularity, it will put pressure on the folks sticking with
META-INF/services.

- Rob

On Mon, Mar 16, 2009 at 2:24 AM, David Fogel <[email protected]> wrote:

> I'm not sure any of what I've written here will be helpful to you, but
> since we're both struggling with the same thing, I figure it'd be good
> to get my current thoughts on this typed up.
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1333092

Reply via email to