• Title/Summary/Keyword: Observer/Observable pattern

검색결과 2건 처리시간 0.229초

관찰자/피관찰자 설계 패턴을 이용한 모바일 M/VC 응용 프레임워크 (Mobile M/VC Application Framework Using Observer/Observable Design Pattern)

  • 음두헌
    • 인터넷정보학회논문지
    • /
    • 제7권2호
    • /
    • pp.81-92
    • /
    • 2006
  • 최근, 휴대폰과 PDA 등의 무선기기 사용자가 급증하고 있다. 이에 따라 지리정보, 교통안내 시스템과 같은 모니터링 및 제어 응용이 무선기기에서 활발히 사용되고 있다. 본 논문에서는 모바일 응용 중, 모니터링 및 제어 응용인 M/VC(Model/View Controller) 응용의 신속한 작성을 지원하는 모바일 M/VC 응용 프레임워크를 소개한다. 모바일 M/VC 응용 프레임워크는 무선 통신 환경에서 클라이언트와 서버 객체의 상호작용을 자동 처리하기 위해 Java의 관찰자/피관찰자(Observer/Observable)를 확장한 모바일 관찰자/피관찰자 패턴과 관찰자/피관찰자 객체들의 조립 기능을 제공하는 Multiplexer와 Demultiplexer 클래스들을 지원한다. 개발자는 이 프레임워크를 이용하여 Observable과 MoblieObserver 클래스들로부터 필요한 객체들을 생성한 후, 이들을 Multiplexer와 Demultiplexer 객체에 구성적으로(plug-and-play식으로) 상호 연결하여 응용을 생성한다. 즉, 개발자는 무선 환경을 고려하지 않고 모바일 M/VC 응용 프레임워크가 제공하는 Multiplexer나 Demultiplexer 클래스의 객체에 모바일 관찰자/피관찰자 객체들을 조립식으로 연결함으로써 피관찰자의 상태 변화가 관찰자에게 전달되고 관찰자를 통한 사용자의 입력이 피관찰자에게 전달되어 반영되는 모바일 모니터링 및 제어 응용을 신속하게 작성할 수 있다. 또한, 모바일 M/VC 응용 프레임워크는 무선 통신 환경하의 관찰자/피관찰자 객체들과 같은 컴포넌트 재사용성을 개선한다.

  • PDF

분산 객체 조립기를 이용한 MVC 응용의 구성적 작성 (Structural Construction of MVC Applications using Distributed Object Composer)

  • 음두헌
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제26권11호
    • /
    • pp.1298-1305
    • /
    • 1999
  • 네트워크 및 분산 처리 기술의 발달로 분산 환경에서 동작하는 응용 프로그램에 대한 생산성 향상이 요구되고 있다. 본 논문에서는 MVC(Model, View, Controller) 패턴을 기반으로 하는 분산 응용 프로그램의 생산성 향상을 위해, 조립식 분산 응용의 작성을 지원하는 분산 객체 조립기, DOC(Distributed Object Composer)를 소개한다. 분산 객체 조립성의 기반이 되는 DOC의 구성적{{) '전체'를 창조해 내기 위해 여러 요소들을 결합, 배치하여 하나의 예술작품을 성립시키는 방법. 모아서 조립한다는 의미.}} 인터페이스(Structural Interface)는 기존 객체지향 기술의 절차적 인터페이스(Procedural Interface)에 비해 콤포넌트 재사용성을 개선하고, 분산 응용의 신속한 개발을 지원하여, 소프트웨어의 생산성 및 확장성을 향상시킨다. 또한, DOC 방식으로 모델링하고 구현한 공급망 관리(Supply Chain Management: SCM) 응용 프로그램의 조립식 작성을 통해, DOC의 실시간 정보 처리 및 조립 기능을 보인다.DOC는 이질적인 통신 환경에서 클라이언트와 서버 객체간의 네트워크 투과성을 제공하는 미들웨어, CORBA를 기반으로 한다. 또한, 분산 객체들 간의 상호작용을 자동 처리하기 위해 Java의 관찰자/피관찰자(Observer/Observable)를 확장한 분산 관찰자/피관찰자 패턴을 정의하여 DOC와, 서버 및 클라이언트의 분산 응용 객체들을 정의하기 위한 인터페이스에 적용한다.Abstract Due to the availability of advances in network and distributed processing technologies, the enhanced productivity of application software that runs on distributed environment is demanded. In this paper, we introduce the Distributed Object Composer (DOC) that supports the structural composition of distributed applications for the enhanced productivity of MVC (Model, View, Controller) pattern-based application programs. The structural interface of DOC that is the basis for the composibility of distributed objects increases the reusability of software components and provides better software productivity and extendibility than the procedural interface of the traditional object-oriented technology by supporting rapid constructions of distributed applications. In this paper, we also discuss the real-time information processing and composibility features of DOC by applying the DOC mechanism to the Supply Chain Management (SCM) application.DOC is implemented using the CORBA middleware that supports the network transparency between client and server objects on heterogeneous communication environments. We apply the distributed Observer/Observable pattern that extends the Observer/Obseverable of Java to DOC itself and distributed client/server objects as their interface definitions for the automatic interactions of distributed objects.