I know this is a subjective question, I tried to google out, and went through the documention of different cache providers such as ehcache etc.
Use Case/ Problem Statment: An application(cache application) which will be in different VM of the server, and multiple applications such as Application A, B, C resides in different VM, can communicate to the cache application similar to the concept of Sqlfire/gmfire i.e in memory cache.
Approach: Note: Considering the requirment, I don't wanna to make use of existing cache mechanisms such mmcache,ehaceh and etc,
Could you please give some idea from where I should start such as:
1-Make use of HashMap/ConcurrentHashMap will be correct approach for this or not? 2-How I can achieve diffrent VMs communicating 3-Some best practice I should follow as a beginer. 4-went thorugh various questions posted here one of the such link is Develop in Memory Object Cache
Still in confuse how I can achieve different VMs talking to this cache VM.
I may not be clear enough to put the rough idea I am thinking of, Please let me know if you require further clarifications.