the promise of j2ee was to build more robust, scalable, and secure enterprise systems. j2ee promised that we could do it quickly and easily since j2ee is supposed to take the complexity out of building powerful distributed systems. but as with the j2ee spec itself, these systems usually suffer through management only as an afterthought.
many management systems focus on proprietary interfaces that react to specific events. they offer solutions in which your management is tied up with the system you are managing. jmx4odp decouples testing and management from the target system and focuses on using reusable components that are bound and deployed using xml configurations.
this article walks you through the process of setting up a basic service monitor and event handler for a common j2ee n-tier system. developers of j2ee systems will be able to use jmx4odp to create testing suites to help them develop more reliable systems. j2ee application administrators will be able to use jmx4odp to simplify and regulate the management of deployed systems.
technologies used
to implement the examples in this article, make sure you have the following libraries available: 【程序编程相关:IBM Shows Shopping S】jmx4odp is built from open standards technologies because they offer a better return on their investment by leveraging the work and experience of the community. open standards also leverage your work and experience; for example, if your project has been tested in the past, you probably have someone on staff who already has junit experience. if you dont, learning junit will be useful for future projects.junit and jmx are the two core foundations for jmx4odps approach to management. junit is becoming the de facto standard for unit testing. junit support is common in most ide and test suites. jmx is javas official answer to system management. groups like jboss are pushing jmx even further to make it a key piece in building complex infrastructures. jmx support is common in major j2ee application servers. ibm has even integrated jmx functionality with its popular tivoli suite.
what you need 【推荐阅读:IBM and Cisco Develo】
jmx4odp: the core diagnostic an... 下一页