4.10 Caveats

4.10.1 Transactionality

If a model MBean implementation is executing in an environment where management operations are transactional, then the model MBean should shield the application from this knowledge. If the application must be aware of the transaction, the application will depend on a certain version of the JMX agent and model MBean to be accessible. The application's investment in the JMX instrumentation is no longer portable and protected.

4.10.2 Remoteness

If the JMX agent is remotable, then the application and/or adapters may be accessing model MBeans that are not co-residing in the same JVM. The model MBean and JMX agent must be implemented so that the applications and adapters are not aware that the model MBean is local or remote. In other words, the model MBean must support location transparency. The JMX agent does not have to provide for remotabilty for both the applications and the adapters; it may be remotable to just one of these.



Java and JMX. Building Manageable Systems
Javaв„ў and JMX: Building Manageable Systems
ISBN: 0672324083
EAN: 2147483647
Year: 2000
Pages: 115

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net