DOI QR코드

DOI QR Code

Design of Required Interface for Components in EJB Environment

EJB 환경에서 컴포넌트의 Required 인터페이스 설계 기법

  • 윤희윤 (숭실대학교 대학원 컴퓨터학과) ;
  • 김수동 (숭실대학교 컴퓨터학부)
  • Published : 2004.06.01

Abstract

As new and diverse information technologies are being introduced and software complexity is increased, software development cost and efforts are also sharply increased. Component-Based Development (CBD) technology is appealing as a new way to reduce the cost and effort by increasing reusability and maintainability. Component in CBD has variability infernally which enables customization of the component within the specific domain. A component user can easily set up internally variability parts though Required interface which is provided by the component. Enterprise JavaBeans (EJB) is utilized as a commercial standard to implement Java-based components. However, EJB constructs are limited in directly implementing Required interfaces of coarse-grained components[8]. In this paper, we define Required interface and propose interface-storage technique, class-storage technique, interface-generation technique, and Plug -in technique for implementing required interface of component. Interface-storage technique stores variable value in Required interface and class-storage technique take the Bean containg variability as Required interface without modification of component model. Interface-generation technique generates new Bean which takes the role of Required interface for component variability and Plug-in technique sets up component variability that component user plugged-in variable part externally The proposed four techniques conform to the semantics of CBD component interface and enable the implementation of high quality components.

다양한 정보기술의 등장과 소프트웨어 복잡성의 증가로 소프트웨어 개발 비용과 노력이 크게 증가하고 있다. 컴포넌트 기반 개발(CBD) 기술은 높은 재사용과 유지보수성을 제공하여 비용과 노력을 크게 절감하는 새로운 방법으로 각광을 받고 있다. CBD에서는 컴포넌트의 사용자가 컴포넌트를 이용해 고유의 도메인에 맞는 시스템을 구축하기 위한 컴포넌트의 가변적인 부분을 가지고 있다. 컴포넌트 내부의 가변적인 부분은 사용자가 컴포넌트에서 제공하는 기능인 Required 인터페이스를 통하여 쉽게 설정할 수 있다. Enterprise JavaBeans(EJB)은 Java 기반의 컴포넌트를 구현할 수 있는 상용 규격으로 활용되고 있다. 그러나 EJB에서 Required 인터페이스를 직접 구현할 수 있는 장치가 제한적이다. 본 논문에서는 EJB 환경에서 Required 인터페이스를 효과적으로 정의하고 子현하기 위한 인터페이스 저장형 기법, 클래스 저장형 기법, 인터페이스 생성형 기법, Plug-in 기법을 제안한다. 인터페이스 저장형 기법은 가변적인 설정 값들은 Required 인터페이스에서 저장하고 있으며 클래스 저장형 기법은 컴포넌트 분석 모델의 수정 없이 가변성을 가진 빈들이 Required 인터페이스로 설정된다. 인터페이스 생성형 기법은 컴포넌트의 가변성을 위한 Required 인터페이스 역할의 민을 새롭게 생성하며 Plug-in 기법은 사용자가 외부로부터 가변적인 부분을 플러그인 하여 가변성을 설정할 수 있다. 제시된 4가지 기법들은 CBD 컴포넌트의 Required 인터페이스의 의미를 보존하며 높은 품질의 컴포넌트 구현을 가능하게 한다.

Keywords

References

  1. Matena, V., Applying Enterprise JavaBean Component-Based Development for the J2EE Platform, Addison-Wesley, 2001
  2. Kuah, J. 'Component-Based Development using EJB' 2000
  3. D'Souza, D. and Wills, A., Objects, Components, and Frameworks with UML, Addison Wesley, 1999
  4. Sterling Software 'The COOL; Gen Component Standard 3.0,' Sept., 1999
  5. Sterling Software 'Advisor 2.00,' 1998
  6. Castek 'Exploring a Comprehensive CBD Method : Use of CBD/e in Practice,' at URL : http://www.cbd-hq.com/PDFs/cbdhq_000615_cbde_for_ICSE.pdf, p.6, February, 2000
  7. Compuware Corporation, 'Building Component-Based Application with UNIFACE,' at UML : http://www.compuware.com/products/uniface/station/control/buildcbd.htm, Compuware Corp.
  8. Sun Microsystems, Enterprise JavaBeans Specification Version 2.1, http://java.sun.com/products/ejb/docs.html, Sun, Jun., 2002
  9. Roman, E., Mastering Enterprise JavaBeans Second Edition Wiley, 2001
  10. Adatia, R., Professional EJB, Wrox Press, 2001
  11. Horstmann, C., Core Java 2 Volume I - Fundamentals Sun Microsystems, 1999
  12. Eckel, B., Thinking in Java Second Editions, Prentice Hall, 2000
  13. D'souza, D. Component with Catalysis : Cost-effective Software Development, at URL : http://www.platinum.com, http://www.catalysis.org, http://www.iconcomp.com
  14. Kurt, C. W., Scott, A. H., Rebert, C. S., Building Systems from Commercial Components, Addison Wesley, 2002
  15. Atkinson, C., Bayer, J., Bunse, C., Kamsties, E., Laitenberger, O., Laqua, R., Muthing, D., Paech, B., Wust, J., Zettel, J., Component-based Product Line Engineering with UML, Addison Wesley, 2002
  16. Alr, D., Crupi, J., Malks, D., Core J2EE Patterns Bast Practices and Design Stratiegies, Prentice Hall, 2001
  17. Spell, B., Professional Java Programming, Wrox Press, 2000
  18. Professional Java Programming Spell, B.