Results 1 to 2 of 2

Thread: How to do service discovery within iceboxnet.exe?

  1. #1
    Gravitas is offline Registered User
    Name: Shane Tolmie
    Organization: NeuralFutures LLC
    Project: Server modules in C++, C# and Java, to client.
    Join Date
    Feb 2011
    Posts
    40

    How to do service discovery within iceboxnet.exe?

    Hi,

    If I have 2 servers running within iceboxnet.exe, is there a method for one service to obtain a list of all of the endpoints running within that iceboxnet.exe, so it can obtain the port number of other services?

    This is necessary because I need to run 3rd server which communicates with the two existing servers, and I'd rather not scatter hard coded ports through all of my projects.

    I know I could use icegridregistry - would this perhaps be a better solution?

    I'd like to use icegrid, but unfortunately there is no screencast for the icegrid Java GUI, and the documentation is missing, so I don't think I could follow that learning curve without a lot of work attempting to hand code .xml files (what are the chances of creating a screencast for the Java GUI?).

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Shane,

    Neither Ice nor IceBox provides an API to retrieve the object adapters in a communicator (or process), or their associated endpoints.

    The following could work for you:
    - use a shared communicator for all 3 services
    See "Sharing a Communicator" in http://www.zeroc.com/doc/Ice-3.4.1-I...eBox.44.3.html

    - create one of more Ice properties with stringified proxies for objects hosted by your IceBox services

    An additional advantage of this approach is that communications between your services could be transparently optimized by Ice: see http://www.zeroc.com/doc/Ice-3.4.1-I...ver.33.21.html

    Using IceGrid is another solution, although this could be overkill if all you need is exchange proxies between services hosted by the same IceBox server.

    Quote Originally Posted by Gravitas View Post
    Hi,
    I'd like to use icegrid, but unfortunately there is no screencast for the icegrid Java GUI, and the documentation is missing, so I don't think I could follow that learning curve without a lot of work attempting to hand code .xml files (what are the chances of creating a screencast for the Java GUI?).
    The IceGrid GUI includes a detailed online help. If for some reason this online help does not open in your environment, you can also find it here: http://www.zeroc.com/doc/Ice-3.4.1-I.../IceGridAdmin/

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. IceBoxNet and managed c++ assembly
    By jonp in forum Help Center
    Replies: 3
    Last Post: 03-09-2011, 11:51 AM
  2. service discovery and Icegrid
    By prettyMan in forum Help Center
    Replies: 1
    Last Post: 03-18-2010, 05:26 AM
  3. Discovery mechanism
    By hotlips in forum Help Center
    Replies: 1
    Last Post: 03-06-2007, 06:48 AM
  4. Replies: 1
    Last Post: 08-09-2006, 07:37 PM
  5. server.exe communicate with client.exe problem.
    By ouloba in forum Help Center
    Replies: 6
    Last Post: 10-20-2004, 08:35 AM

Posting Permissions

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