Results 1 to 3 of 3

Thread: Share endpoint between services in IceBox

  1. #1
    rspivak is offline Registered User
    Join Date
    Apr 2006
    Posts
    4

    Share endpoint between services in IceBox

    Hi.

    I played with my custom IceBox for python to host multiple python services and found out that in config file i need to put separate endpoints for every service, ie for every service on localhost i put different port number.
    Is it possible in IceBox, in general, to have one endpoint shared between all services?

    Thanks.
    Ruslan Spivak
    Nuxeo
    Project: CPS

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi,

    It would be possible for two IceBox services to share an endpoint, but only if the services cooperated with one another to share a single object adapter instance (since object adapters own the endpoints). This would certainly not be a typical use case for IceBox. Even if several services were configured to share a single communicator, each service would normally create its own object adapter and therefore get its own endpoint.

    Why do you want to use only one endpoint?

    Take care,
    - Mark

  3. #3
    rspivak is offline Registered User
    Join Date
    Apr 2006
    Posts
    4
    Hi, Mark.

    Sharing a single object adapter instance - that's what i had in mind and actually played a bit with it, no luck so far - but i think i make some misconfiguration.

    Quote Originally Posted by mes
    Why do you want to use only one endpoint?
    From perspective that multiple services may complement each other and actually form the single application from the user's point of view it seems logical(at least for me ) to have possibility for client to access IceBox using one endpoint and considering IceBox as single application. As i'm in a process of exploring Ice i think i may change my mind regarding how IceBox would/should be used finally
    Ruslan Spivak
    Nuxeo
    Project: CPS

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I run two services in a single icebox?
    By Gravitas in forum Help Center
    Replies: 3
    Last Post: 03-02-2011, 05:30 PM
  2. Replies: 1
    Last Post: 09-17-2010, 06:30 PM
  3. IceBox + services in subfolders
    By dmitry.medvedev in forum Help Center
    Replies: 3
    Last Post: 10-10-2008, 02:30 AM
  4. invocation between two services in the IceBox
    By drumnbass in forum Help Center
    Replies: 3
    Last Post: 03-05-2008, 06:32 AM
  5. Purify and IceBox services
    By xdm in forum Help Center
    Replies: 4
    Last Post: 06-07-2006, 03:59 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
  •