• DocumentCode
    2413847
  • Title

    Functional Classes Guide Use of Design Patterns in Implementing Mediators

  • Author

    Kontio, Mikko ; Mäyrä, Hannu ; Rönkkö, Mauno

  • Author_Institution
    Softera Ratkaisut Oy, Kuopio
  • fYear
    2007
  • fDate
    10-12 April 2007
  • Firstpage
    179
  • Lastpage
    184
  • Abstract
    In this paper, we study how functional classes guide use of design patterns when implementing mediators. Functional classes is a design style that merges both object-oriented and functional programming paradigms. A functional class is a class without variables having pure functions as methods. Therefore, method calls in functional classes are function calls also in the formal sense. As a result, a functional class is naturally a mediator. In this paper, as the main contribution, we show that functional classes lead to proper use of certain specific design patterns, like Singleton, Adapter, Abstract Factory, and Strategy. We exemplify this with a data mediator implementation called JavaTableFC
  • Keywords
    functional programming; object-oriented programming; JavaTableFC; data mediator; design patterns; functional classes; functional programming; object-oriented programming; Functional programming; Java; Production facilities; Design Patterns; Functional Classes; Middleware; Software Design and Development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Complex, Intelligent and Software Intensive Systems, 2007. CISIS 2007. First International Conference on
  • Conference_Location
    Vienna
  • Print_ISBN
    0-7695-2823-6
  • Type

    conf

  • DOI
    10.1109/CISIS.2007.29
  • Filename
    4159731