Results 1 to 7 of 7

Thread: OSGI and Spring?

  1. #1

    Default OSGI and Spring?

    Anyone used Spring together with OSGI (eclipse 3.2) ?

    I am evaluationg which component architecture to use and am unsure if OSGI and Spring would play together now and in the future. For now I have more or less come to the conclusion that these technologies are more complementary than competitors.

    Basically I am thinking of using both with OSGI bundles on the macro scale and Spring inside each the bundles.

    However before I get too deep I would like to know what you Spring experts think? Good idea ? Any experience with Spring+OSGI ? Problems ?

    Thanks!

    Cheers,
    Morten

  2. #2

    Default

    I agree, this would be pretty interesting. See this thread on Eclipse+Server side components. I've been thinking about components in Spring too, which you can read about here.

  3. #3
    Join Date
    Aug 2004
    Posts
    1,104

    Default

    There is some osgi code in the sandbox - spring/sandbox/src/org/springframework/osgi

    I'm not sure what state it's in but worth a look.
    Thomas Risberg
    SpringSource by Pivotal
    http://www.springsource.org

  4. #4

    Default

    We use Spring together with osgi which works pretty good.
    We even use AndroMDA to generate all the dump stuff. Everything integrates smoothly beside Hibernate (which causes us headache right now). If you try to reference a table attribute from one bundle to another (if an application context sits inside of each bundle) you get MappingExceptions.

  5. #5
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    OSGi integration is a fairly strategic direction for the Spring team. It's not going to be released in the Spring 2.0 timeframe, which is our current priority, but expect big things after that! Also, there seems to be a lot of interest in this in the OSGi community.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  6. #6

    Default Thanks you all for the info

    Thank you all. Glad that my interest in combining Spring + eclipse OSGi is shared and that the Spring team are looking at supporting this in the future (Spring 3.0? Where/When :-))

  7. #7
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default OSGi support in Spring

    Spring 3.0? Where/When
    We don't yet have a release date in mind, but there is already OSGi integration code in the Spring sandbox. As the Spring model already offers powerful extension points such as proxying FactoryBeans, this sits happily on top of the present Spring core, so we don't need to do a bunch of rework to productize it.

    I expect we will release something this summer.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •