• Title/Summary/Keyword: Observer/Observable pattern

Search Result 2, Processing Time 0.018 seconds

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

  • Eum Doo-Hun
    • Journal of Internet Computing and Services
    • /
    • v.7 no.2
    • /
    • pp.81-92
    • /
    • 2006
  • Recently, the number of mobile phone and PDA users has been rapidly increased. Such monitoring and control applications as geographical and traffic information systems are being used widely with wireless devices. In this paper, we introduce the mobile M/VC application framework that supports the rapid constructions of mobile monitoring and control (M/VC) applications. The mobile M/VC application framework uses the mobile Observer/Observable pattern that extends the Java's Observer/Observable for automatic interactions of server and client objects in wireless environments. It also provides the Multiplexer and Demultiplexer classes that supports the assembly feature of Observer and Observable objects. To construct an application using the framework, developers just need to create necessary objects from the Observable and MobileObserver classes and inter-connect them structurally(like the plug-and-play style) through the Multiplexer and Demultiplexer objects. Then, the state change of Observable objects is notified to the connected Observer objects and user's input with Observer objects is propagated to Observable objects. These mechanism is the main process for monitoring and control applications. Therefore, the mobile M/VC application framework can improve the productivity of mobile applications and enhance the reusability of such components as Observer and Observable objects in wireless environments.

  • PDF

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

  • Eum, Du-Heon
    • Journal of KIISE:Software and Applications
    • /
    • v.26 no.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.