Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Add support for the OSGi platform to Spring. Initial code can be found in the sandbox under the org.springframework.osgi packages. This issue covers:

      • the packaging of Spring itself as one or more OSGi bundles
      • support for a Spring application context hosted in an OSGi bundle
      • exporting and injection of Spring beans as OSGi services
      • proxying to support the dynamic nature of the OSGi environment

      See the code in org.springframework.osgi for more details. To contribute to the design and development of Spring's OSGi support, please append comments and patches to this issue...

      1. osgi.patch
        20 kB
        Andy Piper
      2. spring_and_osgi.html
        60 kB
        Andy Piper
      3. spring_and_osgi-57.html
        52 kB
        Adrian Colyer
      4. spring_and_osgi-64.html
        53 kB
        Adrian Colyer

        Issue Links

          Activity

          Hide
          Cristian Pascu added a comment -

          I am doing a study on a project inside my company and I am particularly interested in the Spring/OSGi integration. I have read the specs attached to this issue and it looks very nice to me. Elegant and simple(in the sense of Einstein simplicity for theoretical physics ) as all the Spring framework.

          Can we know, at least approximatively, for when is Spring 2.1 scheduled? An year from now on? Or is it possible to have Spring packaged as OSGi bundles earlier?
          Thanks a lot!

          Show
          Cristian Pascu added a comment - I am doing a study on a project inside my company and I am particularly interested in the Spring/OSGi integration. I have read the specs attached to this issue and it looks very nice to me. Elegant and simple(in the sense of Einstein simplicity for theoretical physics ) as all the Spring framework. Can we know, at least approximatively, for when is Spring 2.1 scheduled? An year from now on? Or is it possible to have Spring packaged as OSGi bundles earlier? Thanks a lot!
          Hide
          Adrian Colyer added a comment -

          Attaching version 0.7 of the specification to this report. Note that the schema in appendix B still needs updating. I'll repost once that is available.

          Show
          Adrian Colyer added a comment - Attaching version 0.7 of the specification to this report. Note that the schema in appendix B still needs updating. I'll repost once that is available.
          Hide
          Adrian Colyer added a comment -

          Hi Cristian,
          We haven't set a date for Spring 2.1 yet but it's not going to be as major a change as from 1.2 -> 2.0, so I would hope it is substantially less than a year!.

          Andy Piper has actually done the work of a one-off conversion of the Spring jars into OSGi bundles for Spring 2.0, we'll make these available publically based on the final version of Spring 2.0 as soon as that is available (September).

          The OSGi support code should also be available for download and experimentation well in advance of the final release of Spring 2.1 - you should see code arriving in the early milestone builds.

          Regards, Adrian.

          Show
          Adrian Colyer added a comment - Hi Cristian, We haven't set a date for Spring 2.1 yet but it's not going to be as major a change as from 1.2 -> 2.0, so I would hope it is substantially less than a year!. Andy Piper has actually done the work of a one-off conversion of the Spring jars into OSGi bundles for Spring 2.0, we'll make these available publically based on the final version of Spring 2.0 as soon as that is available (September). The OSGi support code should also be available for download and experimentation well in advance of the final release of Spring 2.1 - you should see code arriving in the early milestone builds. Regards, Adrian.
          Hide
          Adrian Colyer added a comment -

          Attaching the finished 0.7 level of the specification, including updated schema.

          Show
          Adrian Colyer added a comment - Attaching the finished 0.7 level of the specification, including updated schema.
          Hide
          Juergen Hoeller added a comment -

          I'll close this SPR issue, since we have the OSGi sister project now.

          We have a separate SPR issue for delivering properly OSGi-fied jars in the Spring core distribution.

          Juergen

          Show
          Juergen Hoeller added a comment - I'll close this SPR issue, since we have the OSGi sister project now. We have a separate SPR issue for delivering properly OSGi-fied jars in the Spring core distribution. Juergen

            People

            • Assignee:
              Adrian Colyer
              Reporter:
              Adrian Colyer
              Last updater:
              Trevor Marshall
            • Votes:
              21 Vote for this issue
              Watchers:
              39 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 47 weeks, 6 days ago