Design and Implementation of IDAO for Efficient Access of Database in EJB Based Application

EJB 기반 애플리케이션에서 데이터베이스의 효율적 액세스를 위한 IDAO의 설계 및 구현

  • 최성만 (전북대학교 대학원 전산통계학과) ;
  • 이정열 (전북대학교 대학원 전산통계학과, 정인대학 사무정보계열) ;
  • 유철중 (전북대학교 자연과학대학 컴퓨터과학과, 전북대학교 영상정보신기술연구소) ;
  • 장옥배 (전북대학교 자연과학대학 컴퓨터과학과, 전북대학교 영상정보신기술)
  • Published : 2001.10.01

Abstract

EJB, providing specification for development and deployment of component based application, permits distributed development as central element of J2EE environment that manages automatically transaction management, persistence, concurrency control that are the most complicated work in enterprise environment. In this paper, we wish to resolve DAO's transaction logic complexity and performance reduction of system in the EJB based legacy system. Therefore, this paper describes the design and implementation of IDAO that applies Iterator pattern. IDAO gets effect that reduces complexity of transaction logic, system overload by database connection, and reduction of performance through container managed transaction.

컴포넌트 기반 애플리케이션의 개발 및 배치를 위한 명세를 제공하는 EJB(Enterprise JavaBeans)는 엔터프라이즈 환경에서 가장 복잡한 트랜잭션 관리, 퍼시스턴스, 동시성 제어 등을 자동적으로 관리해주는 J2EE 환경의 핵심으로서 분산개발을 가능하게 한다. 본 논문에서는 EJB 기반 레거시 시스템에서 DAO의 트랜잭션 로직 복잡성과 시스템의 성능저하 문제를 해결하고자 한다. 따라서, 본 논문에서는 Iterator 패턴을 적용한 IDAO를 설계 및 구현하였다. IDAO는 컨테이너 관리 트랜잭션을 통해 데이터베이스 커넥션에 따른 트랜잭션 로직의 복잡성과 시스템의 과부하 감소 및 시스템의 성능저하를 감소시키는 효과를 얻었다.

Keywords

References

  1. Clemens Szyperski, 'Component Software: Beyond Object-Oriented Programming,' Addison Wesley Lognman, Inc., 1998
  2. Peter Herzum, Oliver Sims, 'The Business Component Approach; Business Object Design and Implementation II,' OOPSLA '98 Workshop Proceedings, UK : Spring-Verlag, 1998
  3. Desmond F. D'Souza, Alan Cameron Wills, 'Objects, Components and Frameworks with UML : The Catalysis Approach,' Addison Wesley Longman, Inc., 1999
  4. Deepak Alur, John Crupi, Dan Malks, 'Core J2EE Patterns: Best Practices and Design Strategies,' Prentice Hall PTR, 2001
  5. Mark Grand, 'Patterns in Java, Volumel ; A Catalog of Reusable Design Patterns Illustrated with UML,' John Wiley & Sons, Inc., 1998
  6. Karl Rege, 'Design Patterns for Component-Oriented Software Development,' in Proceedings of EUROMICRO, pp. 220-228, 1999 https://doi.org/10.1109/EURMIC.1999.794784
  7. Erich Gamma, Richard Helm, Raplh Johnson, John Vlissides, 'Design Patterns : Elements of Reusable Object-Oriented Software,' Addison Wesley Longman, Inc., 1995
  8. Cooper, James William, 'Java Design Patterns: A Tutorial,' Addison Wesley & Sons, Inc., 2000
  9. Stephen S. Yau, Ning Dong, 'Integration in Component-Based Software Development Using Design Patterns,' in Proceedings of COMPSAC, pp.369-374, 2000 https://doi.org/10.1109/CMPSAC.2000.884750
  10. John Cheesman and John Daniels, 'UML Components A Simple Process for Specifying Component-Based Software,' Addison Wesley Longman, Inc., 2001