Home Help Center

slice2javae and slice2java

albertodsalbertods Member Alberto Della SantinaOrganization: University of Pisa - department of IT EngineeringProject: Mobile remote controller ✭✭
Hi all,
consider a simple case in which I have a client (developed in J2ME) and a server (in java).

Does the slice definition need to be compiled twice? Firstly with the slice2javae (for the client) and secondly with the slice2java (for the server)?

Can I have I server written in c++ with such kind of client? In that situation the server needs the slice2cpp compilation.


Thanks in advance


Alberto

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Yes, you must compile the Slice twice. The Ice-E generated code is different from the Ice generated code.

    You can write your client and server in any language you wish. Ice and Ice-E is platform and language transparent, with the only exception that Ice-E does not support objects by value (i.e., transfer of class instances by value).
Sign In or Register to comment.