I have an MBean that is used to update details against specific records on a file but I have one question....
For arguments sake lets say that I have a record called ABC and a second record called DEF both on the same table so I call my MBean with a load operation passing the key to ABC...This loads the MBean with ABC details but then, unaware to me, another administrator goes in and calls the load method with DEF??
In the html adaptor I call the update method after applying my changes to the record but at the same time another user has done the same with a different record...you can see where I am going with this...how do you sync this kind of thing using JMX??
You want to use a component model that includes resource locking (or do it manually yourself).