I'm looking at creating an MBean to initialize a connection pool.
Rickard mentioned the ServiceMBean class, which I took a look at. If I
were to use that, that would tie the classes to jBoss. So I wonder
whether that's truly necessary. What would happen if the pool used a
generic MBean? It seems like it would still be loaded, but would it fail
to unload or something?
If it does need to extend ServiceMBeanSupport, perhaps the correct
approach would be to put the MBeans under the jBoss packages even if the
pools themselves are not.
Thanks,
Aaron