Slice2Java code generation

JShahJShah Jitendra ShahOrganization: RBCProject: Trading and RiskMember
Hi,

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.

Thanks,
Jitendra

Comments

  • mesmes CaliforniaMark SpruiellOrganization: ZeroC, Inc.Project: Ice DeveloperAdministrators, ZeroC Staff ZeroC Staff
    Hi,

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

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