Results 1 to 10 of 12

Thread: RCP & dynamic Modules

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Germany, Berlin
    Posts
    11

    Default RCP & dynamic Modules

    Hi everyone,

    some months ago we shipped a client application, based on Spring RCP, to our customer. A new requirement is that some addons can be downloaded and installed dynamic without restart.
    Is there a way to load modules dynamic? I'd like to have a dialog where I can check which module shall be downloaded from a server and installed. NetBeans has a API for this scenario.
    Now I have to choices: porting the application to NetBeans, which means a lot of code needs to be rewritten. Or using OSGi for the existing application.
    I prefer the second option, because it sounds like a challenge
    But I simply don't know where to start with embedding an OSGi Platform in a Spring RCP. Had anyone ever a similar problem?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    OSGi is currently not yet supported and as such, dynamic module loading is currently not possible.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  3. #3
    Join Date
    Feb 2006
    Posts
    118

    Default

    I'd suggest taking a look at Spring DM, which is a fusion of Spring and OSGi, targeted at webapps.

    Also take a look at http://www.sip-communicator.org/inde...riteGuiPlugins, which is a Swing + OSGi based app.

    Please post on the forum if you make any progress, as I'm sure many people would be interested in what you achieve. (I would be)

  4. #4
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    67

    Default

    Any progress on how to enable plugin stuff in spring rc or does anyone know "where to start" like gomtuohe904 said?

    Maybe we could learn from this example and this setup information?

  5. #5
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    At the moment there's nothing planned for OSGi based development. I'm looking into some technologies myself, but merging OSGi with Spring RCP isn't that easy.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  6. #6
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    67

    Default

    > but merging OSGi with Spring RCP isn't that easy.

    Yes, I am looking into this at the moment too and recognize the difficulties. But at the moment I have some time to investigate on this.
    I posted an email on the dev list as well.

    Did you know how to solve the application-context changing problems?
    For my application it would be okay to restart the whole app on installing plugins, so it would be okay to merge the application-contexts on startup.

Posting Permissions

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