An Approach to Composite Techniques and Application of EJB Component using Adapter Pattern

Adapter패턴을 이용한 EJB 컴포넌트 조립 기법 및 응용

  • 정화영 (예원대학교 정보경영학부 전자상거래학과)
  • Published : 2003.02.01

Abstract

According to change of software development technique as design pattern, component based development etc.., web server development part is applied activity to fit in various user requirement. Especially, EJB as sewer side component model much researches and introduce by easy and various development support. Also, component composing techniques is receiving many interests by easy and efficient application way that architecture based C2 style architecture with message handling. But, in case of EJB component that can not cail thread, C2 framework modification is unavoidable for component composition by C2 style architeccture. For this, we propose techniques to use Adapter pattern to be one of structure pattern among pattern. That is, did so that component composition by C2 style architecture may can consist changing to be able to call thread function in EJB by Adapter pattern.

디자인 패턴, 컴포넌트 기반 기법 등의 소프트웨어 개발기법 변화에 따라 웹 서버 시스템 개발 부분에서도 이를 도입하여 다양한 사용자 요구사항에 맞도록 능동적으로 대처하고 있다. 특히, EJB는 서버측 컴포넌트 모델로서 쉽고 다양한 개발지원으로 인하여 많은 연구 및 도입되고 있다. 또한, 컴포넌트 조립기법은 메시지 전달방법에 의한 아키텍처기반의 C2 스타일 아키텍처가 쉽고 효율적인 적용방안으로 많은 관심을 받고 있다. 그러나, 쓰레드를 호출 할 수 없는 EJB컴포넌트의 경우, C2 스타일 아키텍처에 의한 컴포넌트 합성을 위해서는 C2 프레임워크의 수정이 불가피하다. 이를 위해 패턴 중 구조패턴의 하나인 Adapter패턴을 이용한 기법을 제안하고자 한다. 즉, Adapter패턴에 의하여 쓰레드를 호츨할 수 있는 EJB로 변환함으로써 C2 스타일 아키텍처에 의한 컴포넌트 합성이 가능하도록 하였다.

Keywords