I am a beginner in Vert.X and as per the documentation it is mentioned that Vert.X sharedSet and Map supports only immutable objects across verticles. If in case I want to share a java object, (assuming I am using Java based verticles) across verticles or modules what is the recommended approach? Can I use a hazelcast distributed hash table for that ?
I really think you should try a different approach, otherwise you will be involved in one of the strongest points Vert.x is trying to alleviate: concurrency troubles. If I would have that requirement I would use something like Redis to have a really fast, centralized, volatile store I can access and share something. Maybe this doesn't answer your question, but pointing to a different approach...anyway, try to stay away from "shared state". Good luck!