TOWARD SEMANTIC WEB SERVICES AS MVC APPLICATIONS: FROM OWL-S VIA UML
Keywords:
Design, Implementation, UML, XMI, MVC, Model-View-Controller, OWL, OWL-S, Semantic Web ServicesAbstract
OWL-S is an application of OWL, theWeb Ontology Language, that describes the semantics of Web Services so that their discovery, selection, invocation and composition can be automated. The research literature reports the use of UML diagrams for the automatic generation of Semantic Web Service descriptions in OWL-S. This paper demonstrates a higher level of automation by generating complete complete Web applications from OWL-S descriptions that have themselves been generated from UML. Previously, we proposed an approach for processing OWL-S descriptions in order to produce MVC-based skeletons for Web applications. The OWL-S ontology undergoes a series of transformations in order to generate a Model-View-Controller application implemented by a combination of JavaBeans, JSP, and Servlets code, respectively. In this paper, we show in detail the documents produced at each processing step. We highlight the connections between OWL-S specifications and executable code in the various Java dialects and show the Web interfaces that result from this process.
Downloads
References
C. J. Acuna and E. Marcos. Modeling semantic web services: a case study. In ICWE ’06: Proc.
of the International Conference on Web Engineering, pages 32–39. ACM, 2006.
A. R. Andrade, E. V. Munson, and M. G. Pimentel. A document-based approach to the generation
of web applications. In DocEng ’04: Proceedings of the 2004 ACM symposium on Document
engineering, pages 45–47. ACM, 2004.
A. R. Andrade, E. V. Munson, and M. G. Pimentel. Engineering web applications with XML and
XSLT. In LA-WEBMEDIA ’04: Proceedings of the WebMedia & LA-Web 2004 Joint Conference
th Brazilian Symposium on Multimedia and the Web 2nd Latin American Web Congress, pages
–93. IEEE Computer Society, 2004.
L. Baresi, P. Fraternali, and G.-J. Houben, editors. Web Engineering, 7th International Conference,
ICWE 2007, Como, Italy, July 16-20, 2007, Proceedings, volume 4607 of Lecture Notes in
Computer Science. Springer, 2007.
R. Barrett, L. M. Patcas, C. Pahl, and J. Murphy. Model driven distribution pattern design for
dynamic web service compositions. In ICWE ’06: Proceedings of the 6th international conference
on Web engineering, pages 129–136. ACM, 2006.
B. Bauer and J. P. Muller. Mda applied: From sequence diagrams to web service choreography.
In ICWE ’04: Proceedings of the 4th international conference on Web engineering, volume 3140
of LNCS, pages 132–136. Springer-Verlag, July 2004.
M. Brambilla and A. Origgi. MVC-Webflow: An AJAX Tool for Online Modeling of MVC-2 Web
Applications. In ICWE’08: Eighth International Conference on Web Engineering, pages 344–349,
July 2008.
R. Cardone, D. Soroker, and A. Tiwari. Using XForms to simplify Web programming. In WWW
’05: Proceedings of the 14th international conference on World Wide Web, pages 215–224. ACM,
O. Corcho, A. L´opez-Cima, and A. G´omez-P´erez. A platform for the development of semantic
web portals. In ICWE ’06: Proceedings of the 6th international conference on Web engineering,
pages 145–152. ACM, 2006.
S. Cranefield. Networked Knowledge Representation and Exchange using UML and RDF. Journal
of Digital Information, 1(8):http://journals.tdl.org/jodi/article/view/30/31, 2001.
M. Dean, G. Schreiber, S. Bechhofer, F. van Harmelen, J. Hendler, I. Horrocks, D. L. McGuinness,
P. F. Patel-Schneider, and L. A. Stein. OWL Web Ontology Language Reference – W3C
Recommendation 10 February 2004, February 2004.
D. Distante, P. Pedone, G. Rossi, and G. Canfora. Model-Driven Development of Web Applications
with UWA, MVC and JavaServer Faces. In Baresi et al. [4], pages 457–472.
F. J. Garc´ıa, R. I. Castanedo, and A. A. J. Fuente. A Double-Model Approach to Achieve Effective
Model-View Separation in Template Based Web Applications. In Baresi et al. [4], pages 442–456.
D. Gasevic, D. Djuric, and V. D. Vladan. Mda-based automatic owl ontology development. Int.
J. Softw. Tools Technol. Transf., 9(2):103–117, 2007.
R. Grønmo, M. C. Jaeger, and H. Hoff. Transformations between uml and owl-s. In Proceedings
of the First European Conference on Model Driven Architecture - Foundations and Applications,
(ECMDA-FA 2005), pages 269–283, 2005.
L. GuangChun, W. Lu, and X. Hanhong. A novel web application frame developed by MVC.
SIGSOFT Softw. Eng. Notes, 28(2):7, 2003.
Y. Ha and R. Lee. Semantic Web Service Modeling using UML for e-business environment. In
SNPD-SAWN ’06: Proceedings of the Seventh ACIS International Conference on Software Engineering,
Artificial Intelligence, Networking, and Parallel/Distributed Computing, pages 368–374,
Washington, DC, USA, 2006. IEEE Computer Society.
Y. Jin, S. Decker, and G. Wiederhold. Ontowebber: Model-driven ontology-based web site management.
In Proceedings of SWWS’01, The First Semantic Web Working Symposium, pages 529–547
http://infolab.stanford.edu/pub/gio/2001/Ontowebber01.pdf, 2001.
G. M. Kapitsaki, D. A. Kateros, C. A. Pappas, N. D. Tselikas, and I. S. Venieris. Model-driven
development of composite web applications. In iiWAS ’08: Proceedings of the 10th International
Conference on Information Integration and Web-based Applications & Services, pages 399–402.
ACM, 2008.
I.-W. Kim and K.-H. Lee. Describing semantic web services: From UML to OWL-S. In ICWS
’07: Proceedings of the IEEE International Conference on Web Services, pages 529–536, Korea,
July 2007. IEEE CS Press.
S. Kojarski and D. H. Lorenz. Domain driven web development with webjinn. In OOPSLA
’03: Companion of the 18th annual ACM SIGPLAN Conference on Object-oriented Programming,
Systems, Languages, and Applications, pages 53–65. ACM, 2003.
M. Konyk, A. D. L. Battista, and M. Dumontier. Chemical Knowledge for the Semantic Web. In
DILS, pages 169–176, 2008.
G. E. Krasner and S. T. Pope. A cookbook for using the model-view controller user interface
paradigm in Smalltalk-80. J. Object Oriented Program., 1(3):26–49, 1988.
C. Lee, J. Kim, J. Lee, and B. Lee. Evolving web service applications using UML and OWLS.
In ICCIT ’07: Proceedings of the 2007 International Conference on Convergence Information
Technology, pages 1247–1252, Washington, DC, USA, 2007. IEEE Computer Society.
A. L´opez-Cima, ´ O. Corcho, and A. G´omez-P´erez. Rapid Ontology-based Web Application Development
with JSTL. In Proceedings of the (SFSW 2007) Workshop on Scripting for the Semantic
Web (held with ESWC’07), 2007.
A. A. Macedo, L. Baldochi, J. A. C. Guerrero, R. G. Cattelan, and M. da Gra¸ca Campos Pimentel.
Automatically linking live experiences captured with a ubiquitous infrastructure. Multimedia Tools
Appl., 37(2):93–115, 2008.
D. Martin, M. Burstein, J. Hobbs, O. Lassila, D. McDermott, S. McIlraith, S. Narayanan,
M. Paolucci, B. Parsia, T. Payne, E. Sirin, N. Srinivasan, and K. Sycara. W3C member submission
november 2004 – OWL-S: Semantic markup for web services, November 2004.
C. V. S. Prazeres, M. G. C. Pimentel, and C. A. C. Teixeira. Remote experiments as semantic
web services. In H. Yu, M. Naphade, and H. Koiti, editors, ICSC ’07: Proceedings of the 1st IEEE
International Conference on Semantic Computing, pages 791–798. IEEE CS Press, Set 2007.
C. V. S. Prazeres and C. A. C. Teixeira. A structured document-based approach for WebLab
configuration. In WebMedia ’06: Proceedings of the 12th Brazilian symposium on Multimedia and
the web, pages 1–10, Natal, Rio Grande do Norte, Brazil, 2006. ACM Press.
C. V. S. Prazeres, C. A. C. Teixeira, and M. da Gra¸ca Campos Pimentel. Semantic Web services
discovery by matching temporal restrictions. In SAINT ’08: Proceedings of the 8th IEEE/IPSJ
International Symposium on Applications and the Internet, pages 26–32. IEEE Computer Society,
C. V. S. Prazeres, C. A. C. Teixeira, E. V. Munson, and M. da Gra¸ca C. Pimentel. Semantic web
services: from OWL-S via UML to MVC applications. In SAC ’09: Proceedings of the 2009 ACM
symposium on Applied Computing, pages 675–680. ACM, 2009.
J. T. E. Timm and G. C. Gannod. A model-driven approach for specifying semantic web services.
In ICWS ’05: Proceedings of the IEEE International Conference on Web Services, pages 313–320,
Washington, DC, USA, 2005. IEEE Computer Society.
K. Watanabe, M. Imamura, K. Asami, and T. Amanuma. A Web Application Development
Framework Using Code Generation from MVC-Based UI Model, volume 5518/2009 of Distributed
Computing, Artificial Intelligence, Bioinformatics, Soft Computing, and Ambient Assisted Living,
chapter 11, pages 404–411. Springer Berlin - Heidelberg, June 2009.
A. Z. Wyner. An ontology in OWL for legal case-based reasoning. Artif. Intell. Law, 16(4):361–387,
Y. Yan, Y. Liang, and X. Du. Controlling remote instruments using web services for online
experiment systems. In ICWS ’05: Proceedings of the IEEE International Conference on Web
Services (ICWS’05), pages 725–732, Washington, DC, USA, 2005. IEEE Computer Society.
J. H. Yang and I. J. Chung. Automatic generation of service ontology from uml diagrams for
semantic web services. In ASWC ’06: Proceedings of the First Asian Semantic Web Conference,
volume 4185 of LNCS, pages 523–529. Springer, 2006.