Sunday, November 18, 2007

Storing webservice properties using dynamic MBeans

clipped from www.it-eye.nl

Storing webservice properties using dynamic MBeans

Storing webservice properties using dynamic MBeans.

Recently I needed to store some settings in a JSR-181 webservice. Since I did not have a user interface and I don’t want to use property files I thought to try and store them in a MBean using JMX.
This gives the administrator the change to alter the properties through the Oracle Enterprise Manager instead of digging for property files on the server. It actually is pretty straightforward to implement a MBean. However to implement it dynamic is a bit harder so here how I did it:

0 comments: