Results 1 to 2 of 2

Thread: Questions about Freeze Library Demo

  1. #1
    debrm is offline Registered User
    Name: Deborah Reed-Margetan
    Organization: CSSM, ISU
    Project: NRI
    Join Date
    Feb 2005
    Posts
    6

    Question Questions about Freeze Library Demo

    Can someone give me some additional information about how the
    Freeze library demo works?

    There is a file called "books" which contains a series
    of "add" statements that I assume should be used to load
    the Berkeley databases db/books and db/authors. How/when
    is this done?

    Also I do not understand what the role of "collocated"
    is in relation to "server" and "client".

    Thank you

  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,

    Sorry, we really should add README files for the Freeze demos. The books file is a script that's meant to be executed by the client. So, in one window you start the server, and in another window you do the following:

    % client < books

    By redirecting the client's input from the books file, it executes all of the commands and populates the server's database. You can then start the client again without the extra arguments to experiment with the other commands (type "help" to get a list of commands).

    The collocated version simply combines the client and server into one executable, so you could do the following:

    % collocated < books
    % collocated

    In this case you don't need to use the server executable.

    Take care,
    - Mark

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Freeze-related questions
    By allro in forum Help Center
    Replies: 3
    Last Post: 06-30-2010, 04:11 PM
  2. Release-Library
    By susannesch in forum Help Center
    Replies: 1
    Last Post: 08-12-2009, 07:03 AM
  3. how to package into a dynamic library
    By wdp221651 in forum Help Center
    Replies: 1
    Last Post: 07-21-2008, 03:50 AM
  4. Freeze backup demo comment/correction
    By debrm in forum Bug Reports
    Replies: 2
    Last Post: 06-10-2005, 10:23 AM
  5. Freeze questions (from ACM paper)
    By shaver in forum Help Center
    Replies: 5
    Last Post: 01-27-2004, 12:22 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
  •