I am currently caching some objects to gather application stats. I have each object registered in the mbean server and everything works fine. My only question is that I am caching these objects and calling them directly to update the data. However, since they are registered in the mbean server would it make more sense to get rid of my object cache and make calls to the mbean server directly?
The reason I keep the cache now is that I assume it will be faster than calling the mbean server.
Thanks
It would depend upon how isolated you want
the two parts of your application.
It sounds like they are fairly tightly bound?
Regards,
Adrian