随着J2EE技术不断成熟,人们基于J2EE技术架构,建设电子商务系统。J2EE标准是一个开发的标准,用户可以从众多的J2EE服务器中进行选择,人们关心J2EE服务器的性能及其可扩展性。利用EcPerf测试套件对J2EE系统进行了性能测试,结合测试过程找出数据存取的性能瓶颈,并且通过实用的优化策略,提高系统性能。这些策略包括数据库查询处理、数据库系统的加锁模式、异步消息传递、以及运行环境的配置等。通过优化,系统性能有了大幅度的提升。
With maturity of J2EE technology,people begin to build their E-business systems on J2EE architeeture.J2EE is an open middleware standard,users can choose J2EE servers from many software vendors,and they begin to concern server's performance and scalability.In this paper,the result with ECPerf benchmarking is presented.During being tested,database access bottleneck is identified.After the source of problem has been founded,some optimization actions are conducted,which are related to database transaction processing,database locking pattern,asynchronous message passing and running time configurations.With the mentioned optimization,the system's performance increases considerably.