Home Comments

Slice2Java code generation

JShahJShah Member Jitendra ShahOrganization: RBCProject: Trading and Risk

Please can you consider these improvements for the slice2java codegen:
1. For structs and classes with data properties, generated classes implement java.io.Serialization. This makes it possible to use these classes/object instances with other java components (e.g. distributed caches such as ehcache/coherence).
2. For structs and classes with data properties, provide implementations of the hashcode() and equals() methods. This makes the classes directly usable in hashsets, for example.

Thoughts on the above are most welcome.



  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    Thanks for your suggestions. We'll consider them for a future release.

    Take care,
    - Mark
Sign In or Register to comment.