Results 1 to 2 of 2

Thread: how to: service factory

  1. #1
    dmitry.medvedev's Avatar
    dmitry.medvedev is offline Registered User
    Name: Dmitry N. Medvedev
    Organization: Personal
    Project: Casual Game Analytics Dashboard
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Posts
    47

    Question how to: service factory

    Hi.

    I am planning to implement something like a distributed document subsystem with compound documents.
    E.g.: imaging we have two documents:
    1. document_A and
    2. document_B

    whereas document_B is constructed of the first paragraph of document_A and a number of its own paragraphs, thus, being dependent of the document_A.

    When a user requests document_B from a document_Factory service I'd like to instantiate both document_A and document_B as IceBox services whose references should be accessible via the document_Factory. The requirement is: I need to have document_A up and running as long as document_B is.

    Any thoughts?

    Regards,
    Dmitry.
    Dmitry N. Medvedev@FaceBook

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It's not clear to me why you want to use IceBox services here. It would be much simpler to have the document_A and document_B servants hosted by the object adapter of the document_Factory service.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 03-11-2009, 11:50 AM
  2. session factory yet again
    By sotn3m in forum Help Center
    Replies: 4
    Last Post: 10-10-2008, 07:06 PM
  3. Replies: 3
    Last Post: 07-09-2007, 02:47 PM
  4. Question about proxy's factory methods.
    By rc_hz in forum Help Center
    Replies: 7
    Last Post: 09-05-2006, 07:58 AM
  5. Object Factory
    By enzo in forum Help Center
    Replies: 2
    Last Post: 03-17-2004, 01:29 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
  •