DOI QR코드

DOI QR Code

Design and Implementation of Multiple DataBase Access using Choice Method for EJB Bean Class Based on J2EE Pattern

J2EE 패턴기반 EJB 빈 클래스의 다중 DB 연동에 대한 설계 및 구현

  • 이돈양 (경희대학교 대학원 전자계산공학과) ;
  • 송영재 (경희대학교 컴퓨터공학과)
  • Published : 2004.02.01

Abstract

Recently, software programming method based on EJB for object oriented software design and implement has been used frequently. Usually, case that use permanent data that use Database in EJB base application is most. Part connected with Database-Access that take charge in Entity Bean class of server side creation program. In this paper using J2EE relationship DAO pattern class each separate. This is no much difference with existent pattern method, but in same pattern common classes are designed so that composition may be possible. And as well as use Entity Bean class that created each DBMS classes are different, is doing Rata Source so that connection work is available without alteration or creation of additional program in several DBMS environments.

최근에 객체지향 소프트웨어를 설계하거나 구현방법으로 EJB 기반의 소프트웨어 개발이 많이 이용되고 있다. 일반적으로 EJB 기반 어플리케이션에서는 데이터베이스를 이용한 영속적인 데이터를 사용하는 경우가 대부분이다. 본 논문에서는 서버 측 작성 프로그램 중 엔티티빈 클래스에서 담당하는 데이터베이스 엑세스에 관련된 부분을 J2EE의 DAO 패턴을 이용하여 클래스를 각각 분리하였다. 이는 기존의 패턴 방법과는 큰 차이는 없으나, 동일 패턴내의 공통의 클래스들을 합성이 가능하도록 설계하였다. 그리고 생성된 각각의 DBMS 클래스들은 다른 엔티티빈 클래스에서도 사용이 가능하게 할 뿐만 아니라 여러 DBMS 환경에서도 Data Source를 추가적인 프로그램의 변경이나 작성 없이 연동이 가능하도록 하고 있다.

Keywords

References

  1. Software Engineering: A practitioner's approch, McGraw-Hill International Edition, 1997
  2. Fichman, R. G. and C. F. Kemerer, 'Object-Oriented and Conventional Analysis and Design methodologies,' Computer, Vol.25, No.10, pp.22-39, Oct., 1992 https://doi.org/10.1109/2.161278
  3. Gamma, E. et al., Design Patterns, Addison-wesley, 1995
  4. Gamma, E., et al., Design Patterns : Elements of Reusable Object-Oriented Software, Addison-Wesley, 1994
  5. Floyd Marinescu, EJB Design Pattern, Wiley, 2002
  6. Krishnan Subramanian, EJB Design Patterns : Designing EJBs for maximum re-useablity, compactness and flexiblity
  7. 이돈양, 이창수, 송영재, 'EJB Persistence Pattern을 이용한 효과 적인 앤티티빈 설계', 한국정보과학회, 2002 가을 학술발표논문집(II), 2002
  8. Dirk Riehle, 'Composite Design patterns,' OOPSLA '97, 11, pp.218-228, 1997 https://doi.org/10.1145/263698.263739
  9. Mark Grand, 'Patterns in Java,' WILEY, 1998
  10. E. Gamma, R. Helm, R. Johbson and J. Vlissides, 'Design Pattern: Elements of Reuseable Object-Oriented Software,' Addison-Weley, 1995
  11. http://java.sun.com/blueprints/Corej2eepatterns/Patterns/TransferObject.html
  12. http://java..sun.com/blueprints/Corej2eepatterns
  13. http://www.devx.com/java/wrox/5288-chap03.pdf
  14. http://www.hyuki.com/dpl
  15. Riehle, Dirk, 'Composite Design Patterns,' In Proceedings of the 1997. Conference on Object-Oriented Programming System, Language and Application(OOPSLA '97) ACM Press, pp.218-228, 1997
  16. Yoder, Joseph, Ralph Johnson and Quence Wilson. 'Connecting Business Objects to Relational Databases,' Pattern Languages of Programming Conference Procedding, 1998. http://jerry.cs.uiuc.edu/~plop/plop98/final-submissions/p51.pdf