Results 1 to 4 of 4

Thread: Bunch of questions by a ICE newbie (I'm trying to decide to switch to ICE or not)

  1. #1
    Markus Bernhard is offline Registered User
    Name: Markus Bernhardt
    Organization: Software Consulting Markus Bernhardt GmbH
    Project: BlackMagic
    Join Date
    Jun 2006
    Location
    Munich, Germany
    Posts
    22

    Bunch of questions by a ICE newbie (I'm trying to decide to switch to ICE or not)

    Hi everyone,

    first, forgive me my (d)english. If invent some new words or phrases, sorry;-)

    Second, I searched the archives and found some Discussions about some of my questions, but no easy answer. Some questions are simply there to assure that using ice is the right decision.

    So I hope you don't think I'm impertinent to bother you with this bunch of questions. Answers aka RTFM are welcome, if you can give me a hint which manual

    So, lets start!

    1) Are the following platforms supported?

    OS: Sun Solaris 10
    Arch: Sparc and AMD64
    Compiler: Sun Studio 11

    2) Can ICE be used in 64-bit mode?

    3) Can I have a C++ server and a Java client?

    We are using the Prevalence pattern in combination with the Command pattern. The server will host a PrevalentSystem with a large object tree (only about 2000 object instances, but 25 GIGA byte memory). For access to the PrevalentSystem we have two base classes:

    - Command (read access)
    - RedoLogCommand (read/write access)

    If I understand the basics right, the call flow has to be:

    - Create the Command(Proxy) objects on the client
    - Send the objects via ICE to the server
    - Server executes the commands

    4) If I'm right, this means I have to write IDL for this Command classes.

    5) Can I still use my two base classes for the generated classes?

    6) Even if my base classes are template classes?

    7) Has someone used the command pattern wit ICE?

    The Prevalence pattern relies heavily on object serialization/deserialization. I want to serialize my 25GB object space into a single file. I read some things about using a berkley db for this, but I think that's not performant enough. So I got the following idea:

    - Create the classes for the object space via IDL
    - Use the marshaling/unmarshaling capabilities of ICE to serialize/deserialize the object space

    8) Is this a good idea??? (Would be nice, because I could send the whole object space over the line to another server)

    9) Are there known problems / best practices for IDL specifications of classes with large arrays of primitive types?

    Now that you have managed to read that far come my last 5 questions:

    10) Does ICE have an integrated build environment like ACE/TAO

    11) Is there an eclipse or <insert your ide> integration plugin for ICE

    12) Are there known best practices for logging

    13) Are there known best practices for function call tracing

    14) Are there known best practices for error handling

    Thanks a lot for reading to the bitter end

    Once again: all comments are welcome

    Best regards,
    Markus
    Last edited by bernard; 06-09-2006 at 02:30 PM.
    Markus Bernhardt

    Software Consulting Markus Bernhardt GmbH
    Spieljochstr. 34..Phone: +49-89-420903-14
    81825 München.......Fax: +49-89-420903-20
    mailto:Markus.Bernhardt@scmb.de
    http://www.scmb.de

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Hi Markus,
    Welcome to the forums! Before we can offer you assistance can you please fill out your signature details as detailed in the link contained in my signature.

  3. #3
    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 Markus,

    Welcome to our forums. I fixed your signature; you forgot to check "Show your signature".

    1) Are the following platforms supported?

    OS: Sun Solaris 10
    Arch: Sparc and AMD64
    Compiler: Sun Studio 11
    No, this is not a supported platform. However I suspect building Ice on this platform would be very easy.

    You can find the list of supported platforms at:
    http://www.zeroc.com/platforms.html


    2) Can ICE be used in 64-bit mode?
    Yes.

    3) Can I have a C++ server and a Java client?
    Yes.

    We are using the Prevalence pattern in combination with the Command pattern. The server will host a PrevalentSystem with a large object tree (only about 2000 object instances, but 25 GIGA byte memory). For access to the PrevalentSystem we have two base classes:

    - Command (read access)
    - RedoLogCommand (read/write access)

    If I understand the basics right, the call flow has to be:

    - Create the Command(Proxy) objects on the client
    - Send the objects via ICE to the server
    - Server executes the commands
    You can implement any pattern using Ice.

    4) If I'm right, this means I have to write IDL for this Command classes.
    Yes, distributed operations must be described using Ice's Interface Definition Language, Slice.

    5) Can I still use my two base classes for the generated classes?
    6) Even if my base classes are template classes?
    The classes genererated from Slice definitions do not inherit from application-classes.

    7) Has someone used the command pattern wit ICE?

    The Prevalence pattern relies heavily on object serialization/deserialization. I want to serialize my 25GB object space into a single file. I read some things about using a berkley db for this, but I think that's not performant enough. So I got the following idea:

    - Create the classes for the object space via IDL
    - Use the marshaling/unmarshaling capabilities of ICE to serialize/deserialize the object space
    That's basically what Freeze maps do: use the Ice encoding to store Ice-formatted data in a Berkeley DB database (which is, at the end, a file).

    If you don't need a map but just a sequence, using your own file and serialization could be faster.

    8) Is this a good idea??? (Would be nice, because I could send the whole object space over the line to another server)
    Hard to say without more details.

    9) Are there known problems / best practices for IDL specifications of classes with large arrays of primitive types?
    Yes, please look at our FAQs:
    http://www.zeroc.com/faq/fileTransfer.html

    10) Does ICE have an integrated build environment like ACE/TAO
    No, and I did not know ACE/TAO had one.


    11) Is there an eclipse or <insert your ide> integration plugin for ICE
    See http://www.zeroc.com/vbulletin/showthread.php?t=1665

    12) Are there known best practices for logging
    13) Are there known best practices for function call tracing
    14) Are there known best practices for error handling
    I recommend to read past issues of our newsletter:
    http://www.zeroc.com/newsletter/index.html

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  4. #4
    Markus Bernhard is offline Registered User
    Name: Markus Bernhardt
    Organization: Software Consulting Markus Bernhardt GmbH
    Project: BlackMagic
    Join Date
    Jun 2006
    Location
    Munich, Germany
    Posts
    22

    Thank you very, very much

    The provided links help me very much.

    Thanks for your time.

    Best regards,
    Markus
    Markus Bernhardt

    Software Consulting Markus Bernhardt GmbH
    Spieljochstr. 34..Phone: +49-89-420903-14
    81825 München.......Fax: +49-89-420903-20
    mailto:Markus.Bernhardt@scmb.de
    http://www.scmb.de

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Newbie question : ICE with .NET
    By Duncan in forum Help Center
    Replies: 1
    Last Post: 11-24-2007, 12:23 AM
  2. newbie can't compile ice-3.1.1 on freebsd 6.1
    By wenewboy in forum Bug Reports
    Replies: 2
    Last Post: 01-19-2007, 03:16 PM
  3. Newbie questions about ICE.
    By imacyco in forum Help Center
    Replies: 5
    Last Post: 07-19-2005, 03:06 PM
  4. Two newbie questions.
    By OrNot in forum Help Center
    Replies: 2
    Last Post: 06-06-2005, 05:51 AM
  5. Ice newbie question
    By ruzark in forum Help Center
    Replies: 1
    Last Post: 11-30-2004, 02:11 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
  •