Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Ontology driven creational design patterns as parameterized and reusable components

Published: 01 March 2014 Publication History

Abstract

We have explored the use of a generic ontology component to separate and encapsulate the design pattern logic of the GoF creational design patterns. We used a unique generic ontology as a runtime component in the creational patterns and then analyzed and compared the implementations with those of traditional GoF creational patterns. We concluded after experimental analysis that ontology driven solutions to creational design patterns not only mitigate the drawbacks identified in the creational patterns but also make the patterns a plug and play parameterized and reusable component whereby the desired objects can be created on the fly. Once the pattern parameters i.e. the participant classes are fed into the pattern ontology, the pattern functionality embedded within the ontological component becomes ready to use. This not only decouples the pattern logic from application logic but also decouples the pattern participant classes from each other. Thus the patterns become reusable even at the implementation level.

References

[1]
Budinsky, F., Finnie, M., Yu, P., Vlissides, J. Automatic code generation from design patterns. IBM Systems Journal, 35, 2 (1996), 151--171.
[2]
Chaturvedi, A., and Prabhakar, T. V. Ontology -- driven MVC: A variant of MVC architectural style. In Proceedings of the International Conference on Software Engineering and New Technologies (ICSENT'12) (Hammamet, Tunisia, December 15--17, 2012) 2012, 158--174.
[3]
Chaturvedi, A., and Prabhakar, T. V. Ontological visitor pattern. In Indian Conference on Patterns and Pattern Languages of Programs (GuruPLoP'13) (Bangalore, India, March 3--4, 2013) 2013.
[4]
Chaturvedi, A. and Prabhakar T. V. 2013. Ontology -- driven observer pattern. In Proceedings of the International Workshop on Ontologies meet Advanced Information Systems (OAIS'13) (Genoa, Italy, September 1--4, 2013) Springer International Publishing Switzerland, 158--174.
[5]
Gamma E., Helm, R., Johnson, R., Vlissides, J. Design Patterns Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995.
[6]
Garcia, A., Sant'Anna, C., Figueiredo, E., Kulesza, U., Lucena, C., Staa, A. Modularizing design patterns with aspects: A quantitative study. LNCS Transactions on Aspect-Oriented Software Development, Springer, 1 (2005), 36--74.
[7]
Gruber, T. A translation approach to portable ontology specification. Knowledge Acquisition, 5, 2 (1993), 199--220.
[8]
Hannemann, J., and Kiczales, G. Design pattern implementation in java and aspect. In Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications (OOPSLA'02). 37, 11 (2002), 161--173.
[9]
JArchitect: A tool to evaluate java code base, http://www.javadepend.com/. Accessed on 10 April 2012.
[10]
Noble, J. Natural creation-a composite pattern for creating objects. In Proceedings of Technology of Object Oriented Languages and Systems (TOOLS), 1999, 78--88.
[11]
Protégé ontology editor, http://protege.stanford.edu/, Accessed on 5 March 2012.
[12]
Soukup, J. Implementing patterns. In Coplien J. O., Schmidt, D. C. (eds.) Pattern Languages of Program Design. Addison Wesley, (1995), 395--412.

Cited By

View all
  • (2018)Quantifying Cloud Performance and DependabilityACM Transactions on Modeling and Performance Evaluation of Computing Systems10.1145/32363323:4(1-36)Online publication date: 25-Aug-2018
  • (2018)Ensuring Persistent Content in Opportunistic Networks via Stochastic Stability AnalysisACM Transactions on Modeling and Performance Evaluation of Computing Systems10.1145/32321613:4(1-23)Online publication date: 25-Aug-2018
  • (2018)A Video-based Attack for Android Pattern LockACM Transactions on Privacy and Security10.1145/323074021:4(1-31)Online publication date: 24-Jul-2018
  • Show More Cited By

Recommendations

Reviews

Birol O. Aygun

Software design patterns, especially creational design patterns, have been of special interest to the software development community since their systematic formulation in the Gang-of-Four (GoF) publication [1]. However, many factors specifically related to creational patterns, as well as pattern usage in general, have prevented their widespread use. This paper identifies many of these factors. The main subject of the paper is an ontology-driven approach for using creational design patterns, in which all the GoF creational patterns are implemented in an ontology comprising a generic ontology and an ontology manager. The implementation of several patterns is then described, including textual descriptions and unified modeling language (UML) diagrams, followed by a detailed description of the builder pattern, including Java code and a comparison of this ontology-based implementation with a traditional implementation. The two patterns are then compared using the JArchitect tool. The results show that there are fewer dependencies between classes in the ontology-based implementation. The advantages and disadvantages of separating the logic of the design pattern from that of the pattern itself are then discussed and summarized in the conclusion. While there is a very good description of the authors' ontology-based approach with several examples, one is left waiting for an evaluation of this approach by a traditional development group, describing their experience with ease of use, benefits gained, and more specific questions, such as the performance of the ontology-based code in real-life use cases. Hopefully, these results are forthcoming. Nevertheless, the current publication should be very interesting for design pattern users, especially among Java developers. Online Computing Reviews Service

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM SIGAPP Applied Computing Review
ACM SIGAPP Applied Computing Review  Volume 14, Issue 1
March 2014
56 pages
ISSN:1559-6915
EISSN:1931-0161
DOI:10.1145/2600617
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 2014
Published in SIGAPP Volume 14, Issue 1

Check for updates

Author Tags

  1. GoF design patterns
  2. adaptability
  3. creational design patterns
  4. maintainability
  5. ontology
  6. reusability

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Quantifying Cloud Performance and DependabilityACM Transactions on Modeling and Performance Evaluation of Computing Systems10.1145/32363323:4(1-36)Online publication date: 25-Aug-2018
  • (2018)Ensuring Persistent Content in Opportunistic Networks via Stochastic Stability AnalysisACM Transactions on Modeling and Performance Evaluation of Computing Systems10.1145/32321613:4(1-23)Online publication date: 25-Aug-2018
  • (2018)A Video-based Attack for Android Pattern LockACM Transactions on Privacy and Security10.1145/323074021:4(1-31)Online publication date: 24-Jul-2018
  • (2018)Ontology-based framework for internal-external quality trade-offs and tenant management in multi-tenant applicationsACM SIGAPP Applied Computing Review10.1145/3183628.318363217:4(46-58)Online publication date: 29-Jan-2018
  • (2018)Contextual understanding of microservice architectureACM SIGAPP Applied Computing Review10.1145/3183628.318363117:4(29-45)Online publication date: 29-Jan-2018
  • (2018)Automated SMT-based consistency checking of industrial critical requirementsACM SIGAPP Applied Computing Review10.1145/3183628.318363017:4(15-28)Online publication date: 29-Jan-2018
  • (2018)ExposureACM Transactions on Graphics10.1145/318197437:2(1-17)Online publication date: 12-May-2018
  • (2018)Analysis of Online Social Network Connections for Identification of Influential UsersACM Computing Surveys10.1145/315589751:1(1-37)Online publication date: 31-Jan-2018
  • (2017)Internal Quality to External QualityProceedings of the International Conference on Research in Adaptive and Convergent Systems10.1145/3129676.3129714(241-248)Online publication date: 20-Sep-2017
  • (2016)An ontology based approach for formal modeling of structural design patterns2016 Ninth International Conference on Contemporary Computing (IC3)10.1109/IC3.2016.7880260(1-6)Online publication date: Aug-2016
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media