Results 1 to 2 of 2

Thread: How to integrate ice grid with OSGi?

  1. #1
    Jiangyubao is offline Registered User
    Name: Yubao Jiang
    Organization: www.gliet.edu.cn
    Project: integrate OSGi & Ice to provice service for PHP
    Join Date
    Oct 2007
    Location
    Beijing China
    Posts
    62

    How to integrate ice grid with OSGi?

    Hi, all.

    Maybe this is a stupid question. But I have no choice, I have to post this my question to here since there is only one forum for ICE all over the world.

    About 7 months before, I was asked to try to integrate ICE grid and the OSGi platform. Now I have make a lot of research on this subject. I use Eclipse equinox as an OSGi platfrom. It's easy for me to expose the OSGi service to Apache XML RPC service. But I seems that it hard to integrate ICE and OSGi platform, because the icegridnode.exe(or other name in Linux OS) and icegridregistry.exe are binary programs which is written by C/C++ language.

    But Now I find the following string in application.xml:
    <icegrid
    <application name="Session">
    <node name="localhost">
    <server id="SessionServer" exe="java" activation="session">
    <option>Server</option>
    <adapter name="Hello" endpoints="tcp" register-process="true">
    <allocatable identity="hello" property="Identity"/>
    </adapter>
    </server>
    </node>
    </application>
    </icegrid>


    It seems that the adapter(or the server java program) is activated by calling a java program to execute. So I think that maybe I could activate the adapter in OSGi bundle and then try to find a way to enable the communication between ice grid and adapter which is deployed as a bundle.

    Will anybody tell me how to integrate or how to expose OSGi service as the ICE Service? Is it possible to make a communication link between OSGi platform and ice grid?

    I upload my XML RPC on OSGi bundle source files as an attachment, I hope somebody could help me or give me some advice.

    Thanks.
    Attached Files Attached Files
    Last edited by Jiangyubao; 04-29-2008 at 03:47 AM.

  2. #2
    joshmoore is offline Registered User
    Name: Josh Moore
    Organization: Glencoe Software, Inc.
    Project: OMERO, http://trac.openmicroscopy.org.uk/omero
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    115
    The real question will be *why* are you integrating. If you are simply trying to make your OSGI services available via Ice, there is little choice but to generate the slice definition.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Integrate IceGrid with Spring OSGi
    By Jiangyubao in forum Help Center
    Replies: 1
    Last Post: 07-04-2008, 05:01 AM
  2. Replies: 1
    Last Post: 07-02-2008, 11:52 AM
  3. IceStorm with Ice Grid
    By bigtim in forum Help Center
    Replies: 5
    Last Post: 02-20-2006, 04:20 AM
  4. Ice and Grid computing
    By nsns in forum Comments
    Replies: 3
    Last Post: 04-19-2005, 07:24 AM
  5. ZeroC at Integrate.2003
    By marc in forum Announcements
    Replies: 0
    Last Post: 08-22-2003, 02:12 PM

Posting Permissions

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