Techniques to Transform EJB 2.1 Components to EJB 3.0 for Performance Improvement and Component Reusability

컴포넌트의 성능향상과 재사용을 위한 EJB 2.1 컴포넌트에서 EJB 3.0로의 변환기법

  • Published : 2009.04.15

Abstract

The EJB 3.0 specifications, which were improved in terms of performance and ease of development, were recently announced. Accordingly, for the EJB 3.0 application environment, developers generally prefer the gradual transformation of components whose performance must be improved to the complete transformation of all the EJB 2.1 components into EJB 3.0 components. Previous studies, however, did not consider the service of the application and did not ensure the compatibility and reusability of the components in the full replacement of EJB 3.0 due to the transformation using different specifications. This study proposed three transformation techniques that consider the service supported in the existing application, wherein the compatibility and reusability of the components are ensured in the case of the full replacement of EJB 3.0. The proposed transformation techniques are techniques for gradual transformation, such as direct transformation that directly connects components, indirect transformation that uses the EJB connector, and indirect template transformation wherein the template pattern is applied to the indirect transformation. The proposed transformation techniques were verified by comparing the reusability and processing capability of the components per second, and the standards for selecting a technique were provided based on the characteristics of the transformation into EJB 3.0 that were found in this study.

최근 성능향상과 개발의 편리성을 주요 특징으로 보완한 EJB 3.0 명세가 발표되었다. 이에 따라 개발자들은 EJB 3.0 기반의 애플리케이션 환경에서 EJB 2.1 컴포넌트 전체를 EJB 3.0 컴포넌트로 완전 대체하기보다는 성능향상이 요구되는 컴포넌트부터 점진적 변환하는 방법을 주로 고려하게 되었다. 그러나 기존 연구는 애플리케이션의 서비스를 고려하지 않기 때문에 점진적 변환을 하는데 문제가 있고, 상이한 명세의 변환 방법으로 EJB 3.0 완전 대체 시 컴포넌트의 호환의 문제와 재사용을 하는데 어려움이 있다. 본 연구에서는 기존 애플리케이션에서 제공하였던 서비스를 고려하며, EJB 3.0 완전 대체 시에서도 컴포넌트의 호환과 재사용이 가능한 세가지 변환 기법을 제안한다. 제안하는 변환 기법은 직접 컴포넌트 연결을 하는 직접 변환 기법 EJB 커넥터를 사용하는 간접 변환 기법 그리고 간접 변환 기법에 템플릿 패턴을 적용하는 간접 템플릿 변환 기법으로 점진적 변환을 위한 기법들이다. 이에 제안하는 변환 기법을 재사용과 초당 처리량이라는 평가 기준으로 비교 검증하며, 본 연구를 통해 도출된 EJB 3.0 변환시의 특성들을 기반으로 기법 선택의 기준을 제공한다.

Keywords

References

  1. Rima Patel Sriganesh, Gerald Brose, Micah Silverman, Mastering Enterprise JavaBeans$^{TM}$ 3.0, 4th ED., Wiley, 2006
  2. Rod Johnson, Expert One-on-One$^{TM}$ J2EE$^{TM}$ Development without EJB$^{TM}$, Wiley, 2004
  3. Rahul Biswas, Scott Oak, Eileen Loh, 'Writing Performance EJB Beans in the Java EE Platform 5 (EJB 3.0) Using Annotations,' http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-1624&yr=2006&track=coreenterprise,2006
  4. Raghu R. Kodali, Jonathan R. Wetherbee and Peter Zadrozny, Beginning EJB 3 Application Development from Novice to Professional, Apress, 2006
  5. LIU Yao, 'Support for DSL in Eclipse,' Technical University of Hamburg-Harburg, 2006
  6. Ken Saks, 'EJB 3.0 COMPATIBILITY AND MIGRATION,' http://java.sun.com/mailers/techtips/enterprise/2007/TechTips_Feb07_static.html#1, 2007
  7. Hyun Gi Min, Si Won Choi, and Soo Dong Kim, 'Using Connectors to Resolve Partial Matching Problems in COTS Component Acquisition,' Proceedings of 7th International Symposium on Component- based Software Engineering, Edinburgh, Scotland, pp. 40-47, 2004
  8. Deepak Vohra, 'Migrating EJB 2.1 Entity and Session Beans to EJB 3.0,' http://www.regdeveloper.co.uk/2006/04/25/EJB 3_migration/, 2006
  9. 나학청, 김수동, 'EJB 어플리케이션의 성능 모니터링 기법', 정보과학회논문지 : 소프트웨어 및 응용 제30권, 제5.6호, pp. 529-539, 2003. 6
  10. Catalina M. Lladó, Peter G. Harrison, 'Performance Evaluation of an Enterprise JavaBean Server Implementation,' Proceedings of the 2nd international workshop on Software and performance(WOSP 2000, Ontario, Canada), pp. 180-188, 2000
  11. Te-Kai Liu, Santhosh Kumaran, Zongwei Luo, 'Layered Queueing Models for Enterprise Java-Bean Applications,' Fifth IEEE International Enterprise Distributed Object Computing Conference, Sept. 2001
  12. 오창남, 'J2EE 컴포넌트의 자동 성능 측정 도구 시스템 설계 및 구현', 한국항공대, 2000
  13. B.W. Boehm, M. H. Pendo, A. B. Pyster, E.D. stuckle and R. D. William, 'An Environment for Improving Software Productivity,' IEEE Computer, June 1984
  14. C. W. Krueger, 'Software Reuse,' ACM Computing Surveys, Vol.24, No.2, pp. 131-184, Jun 1992 https://doi.org/10.1145/130844.130856
  15. 박수진, 박수용, '컴포넌트의 다면성과 서비스를 기반으로 하는 재사용 모델', 정보과학회논문지 : 소프트웨어 및 응용, 제34권, 제4호, pp. 303-316, 2007. 4
  16. G. Caldiera & R. Basili, 'Identifying and Qualifying reusable Software components,' IEEE Computer, Volume 24, Issue 2, pp. 61-70, Feb 1991
  17. C. McClure, The Three R's of Software Automation: Re-Engineering Repository Reusability, Prentice Hall, Inc., 1992
  18. Prem Debanbu, Sakke Karstu, Walcelio Melo and William Thomas, 'Analytical and Empirical Evaluation of Software Reuse Metrics,' In the 18th International Conference on Software Engineering, pp. 189-199, 1996
  19. Ed Roman, Rima Patel Sriganesh, Gerald Brose, Mastering Enterprise JavaBeans$^{TM}$, 3rd ED., Wiley, 2004