Home Help Center

Problem making a clinet with IceE

Hello, I´m making a client in IceE and in the server I use IceStorm. You need the quality of service and in an example I found that in java you have to put:
Map qos = new HashMap();
qos.put("reliability", "batch");
and the problem is that interface Map and class HashMap are not allowed in J2ME.How can I solve it?

Thanks

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    In Ice-E for Java, Slice dictionaries (including Ice::Context) are mapped to java.util.Hashtable.

    Note that you will need to translate the IceStorm Slice files using slice2javae.

    Take care,
    - Mark
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Here a another thread talks about the use of IceStorm with IceE.

    http://www.zeroc.com/vbulletin/showthread.php?t=1960

    Regards,
    Dwayne
Sign In or Register to comment.