[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] server side eclipse examples?


Jeremy,

When your Spring integration is ready, can you point us at it?  Or even contribute it here?

Also, do you think that there are any things that could be changed in the framework implementation or OSGi spec to make the integration easier?  There was some discussion of liberal buddy classloading use.  While that certainly is not something that I would encourage it is an example of an enabling technology that at least allows people to investigate a space.

Jeff



Jeremy Volkman <jvolkman@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

11/12/2005 08:59 PM

Please respond to
Equinox development mailing list

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Subject
Re: [equinox-dev] server side eclipse examples?





I've been working on Spring integration on and off for a bit.  While I
don't know that Spring can be used to manage an entire OSGi system,
with multiple bundles, at once, I was able to use it to wire up
bundles internally (a.k.a, one BeanFactory per bundle).  I've also
integrated it with ServiceBinder, which is sort of the predecessor to
R4's Declarative Services.  This allowed me to easily define OSGi
services as Spring beans.  I posted about it on the Apache felix-dev
list a while back, and linked to some code that I had at the time
(I've got more updated code now, but it's not packaged for
distribution).

http://mail-archives.apache.org/mod_mbox/incubator-oscar-dev/200509.mbox/<dccc2ca905092914039c4c1e0%40mail.gmail.com>

Also, check out Service Binder at
http://gravity.sourceforge.net/servicebinder/, as well as Declarative
Services in the OSGi R4 spec, as these are relevant.

After working with integration for a while, I've started to find that
Spring and OSGi are just different enough to make little issues keep
popping up.  One fundamental difference is that Spring seems to assume
that all of its resources are available at any time, where as in an
OSGi world this is most definitely not the case.



Jeremy Volkman


On 11/12/05, Kaegi, Simon <Simon.Kaegi@xxxxxxxxxx> wrote:
> Hi Martin,
>
> If you're interested in web container integration and can wait a week or
> so I can probably help. I'm working on packaging this stuff up for a
> contribution to the server-side incubator.
>
> Spring integration is another area that might be interesting.
> I'm no expert but at a glance thought it looked tough and would require
> a lot of Buddy-Classload[ing] at the very least.
> Do you (or anyone else) have any thoughts on how best to integrate with
> Spring?
>
> -Simon
>
> > -----Original Message-----
> > From: equinox-dev-bounces@xxxxxxxxxxx
> > [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Martin Lippert
> > Sent: Saturday, November 12, 2005 11:06 AM
> > To: Equinox Project
> > Subject: [equinox-dev] server side eclipse examples?
> >
> > Hi,
> >
> > does anybody have code examples how to start and run eclipse
> > applications inside an app server like Websphere or JBoss (or
> > similar)?
> > (I just don't wanna experiment on my own if someone has ready to use
> > examples...)
> >
> > Maybe even in connection with Spring? (OSGi running within
> > Websphere using extensions and Spring to deploy beans or whatever...)
> >
> > That would be great!!!
> >
> > Thanks a lot!!!
> >
> > Best regards,
> > -Martin
> >
> >
>
>        This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you.
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev