当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: The promise of J2EE was to build
 

 

 ·extending jaas @ jdj    »显示摘要«
    摘要:user authentication and access control are important security measures for most java applications, especially j2ee applications. the java authentication and authorization service (jaas), the core ......
 ·a brief history of tags @ jdj    »显示摘要«
    摘要: custom tags in javaserver pages have come a long way since their inception. now that sun has provided some standards for these tags in the form of jstl (and the up-and-coming javaserver faces), and ......


Managing J2EE Systems with JMX and JUnit @ JDJ

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
...   下一页
    摘要: graphical user interface (gui) testing is a potentially problematic area because constructing effective test cases is more difficult than the corresponding application logic. the roadblocks to effec......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE