DOI QR코드

DOI QR Code

SQL 기반 퍼시스턴스 프레임워크

A Persistence Framework Based SQL

  • 발행 : 2008.08.29

초록

기업의 웹 기반 인트라넷 시스템은 객체지향 언어로 개발되고, 데이터의 관리는 RDBMS를 이용하여 구축된다. 두 시스템은 이질적 패러다임에 기인하여 모델의 불일치성을 발생시킨다. 이 문제를 해결하고자 사용되는 ORM 프레임워크는 RDB의 테이블과 객체지향 언어의 객체를 매핑하는 구조로 응용프로그램의 개발이 복잡하고, 변경에 유연하지 못하여 기업형 인트라넷 시스템의 개발 및 유지보수에 어려움을 준다. 본 연구에서는 기존 ORM 프레임워크의 복잡성을 해소하고, 변경에 유연하여 기업의 인트라넷 시스템에 적합한 퍼시스턴스 프레임워크를 제안한다. 제안한 퍼시스턴스 프레임워크는 테이블의 엔티티와 객체를 매핑하는 매핑 메타정보가 불필요하고, 소스코드를 자동 생성하여 개발 및 유지보수의 편의성을 제공하고, 변경에 유연하다. 제안 프레임워크는 Hibernate, iBATIS와의 테스트 결과 iBATIS와는 처리속도가 비슷했으나 iBATIS는 대용량 데이터 처리시 문제를 나타냈으며, Hibernate보다 약 3배 빠른 속도를 보였다.

Web-based Enterprise Intranet System is developed Object-oriented programming language and data management is constructed using RDBMS. Between Object-oriented programming language and RDBMS bring about "Object-Relational Impedance Mismatch" due to heterogeneous paradigm. To solve this kinds of problems commonly use the ORM Framework that it is converting data between incompatible type systems in databases and object-oriented programming languages, uses complex mapping metadata. It causes difficult to develop and maintain because of inflexible in changes. This paper proposed persistence framework that solve the existing complexity of ORM framework and has more flexible in evolution of database table. This persistence framework is unnecessary meta information that connecting with entity of database table and the objects, it offers users convenience of maintenance and it allows far more flexible and affordable systems to be built because of automatically code generation. The result of testing based on the proposed persistence framework with Hibernate, iBATIS, It is similar response time with iBATIS and it has more about three times faster than Hibernate. But iBATIS has problems of mass data processing.

키워드

참고문헌

  1. Gavin King, Christian Bauer., 'Hibernate Object/Relational Persistence for idiomatic Java,' Red Hat Middleware, 2004
  2. Carvalho, S.R., Vianna e Silva, M.J., Melo, R.N., 'Persistent object synchronization with active relational databases,' Technology of Object-Oriented Languages and Systems. pp.53-62, 1999
  3. Herbert Weber, Asuman Sunbul and Julia Padberg, 'Evolutionary Development of Business Process Centered Architectures Using Component Technologies,' IEEE International Conference on Systems Integration IDPT, Volume 5, Issue 3, pp.13-24, 2000
  4. Marin Fowler, David Rice, Matthew Foemmel and Edward Hieatt, Robert Mee., 'Pattern of Enterprise Application Architecture,' Addison-Wesley Professional, pp.160-183, 2002
  5. Red Hat Middleware, 'Hibernate Reference Documentation Version 3.2.2,' Red Hat Middleware, White-Paper, 2007
  6. Apache Software Foundation, 'iBATIS Data Mapper Version 2.0 Developer Guide,' Apache Software Foundation, White-Paper, 2006
  7. Steve Vinoski, 'Enterprise Integration with Ruby', IEEE Internet Computing, Vol.10, No.4, pp.91-95, 2006 https://doi.org/10.1109/MIC.2006.75
  8. Tom Mens and Tom Tourw, 'A declarative evolution framework for object oriented design patterns,' In Proceedings of Int. Conf. on Software Maintenance. IEEE Computer Society Press, pp.570, 2001 https://doi.org/10.1109/ICSM.2001.972774
  9. Sabu M.Thampi, 'Performance Comparison of Persistence Frameworks,' eprint arXiv of Cornell University : 0710.1404, 2007
  10. Alexander Schirrer, 'Object-Relational Mapping, Theoretical Background and Tool Compatison,' Vienna University of Technology, 2004
  11. Daniel A. Menasce, 'Load Testing of Web Sites,' IEEE Educational Activities Department. Vol 6, issue 4, pp.70-74, 2002
  12. Marc Stampfli, 'Efficient Object-Relational Mapping for JAVA and J2EE Applications–or the impact of J2EE on RDB,' Oracle Software, 2004

피인용 문헌

  1. A Study on the Development and Maintenance of Embedded SQL based Information Systems vol.19, pp.4, 2010, https://doi.org/10.5859/KAIS.2010.19.4.025