Reputation:
I have an application with a few model classes. These model classes are stored in Hazelcast maps in my application. I am trying to use a hazelcast client to connect to the hazelcast server node. I have map-store-enabled to true and initial load mode set to EAGER. Should I do the following:
Thanks
Upvotes: 2
Views: 538
Reputation: 11307
A client has a different configuration, so there is no point in copying it to the client. Only the server needs to have it.
The mapstore classes need to be on the server since it is only running on the server. The classes of the objects you put in the map need to be available on both client and server.
Upvotes: 2