Engineering web services with attribute grammars: a case study

Applications based on web services make an extensive use of XML documents. These XML documents are structured according to different markup vocabularies, which represent information such as the inputs and the outputs of the services. This paper proposes a way of implementing web services using a framework called XLOP (XML Language-Oriented Processing). XLOP includes a declarative domain-specific language based on attribute grammars, a well-known declarative specification technique used in the development of language processors. XLOP makes possible the automatic generation of efficient XML-processing components from high-level, declarative specifications, facilitating the development of the aforementioned services and enhancing their maintainability. This technique is illustrated in the context of Chasqui, a system for building repositories of learning objects in specialized domains, which implements a REST web service for checking constraints on the metadata of the stored learning objects.

[1]  José Luis Sierra,et al.  From Research Resources to Learning Objects: Process Model and Virtualization Experiences , 2006, J. Educ. Technol. Soc..

[2]  C. M. Sperberg-McQueen,et al.  Extensible Markup Language (XML) , 1997, World Wide Web J..

[3]  Baltasar Fernández-Manjón,et al.  From Documents to Applications Using Markup Languages , 2008, IEEE Software.

[4]  Baltasar Fernández-Manjón,et al.  ADDS: A Document-Oriented Approach for Application Development , 2004, J. Univers. Comput. Sci..

[5]  Alfred V. Aho,et al.  Compilers: Principles, Techniques, and Tools , 1986, Addison-Wesley series in computer science / World student series edition.

[6]  Baltasar Fernández-Manjón,et al.  A Document-Oriented Paradigm for the Construction of Content-Intensive Applications , 2006, Comput. J..

[7]  José Luis Sierra,et al.  From Chasqui to Chasqui II: an Evolution in the Conceptualization of Virtual Objects , 2005, J. Univers. Comput. Sci..

[8]  José Luis Sierra,et al.  Tagging Learning Objects with Evolving Metadata Schemas , 2008, 2008 Eighth IEEE International Conference on Advanced Learning Technologies.

[9]  Roy Fielding,et al.  Architectural Styles and the Design of Network-based Software Architectures"; Doctoral dissertation , 2000 .

[10]  José Luis Sierra,et al.  XML Language-Oriented Processing with XLOP , 2009, 2009 International Conference on Advanced Information Networking and Applications Workshops.

[11]  José Luis Sierra,et al.  Processing Learning Objects with Attribute Grammars , 2009, 2009 Ninth IEEE International Conference on Advanced Learning Technologies.

[12]  Asmaa N.Ganayem,et al.  Internet Diffusion and Adoption within Arab-Palestinian Society in Israel , 2012 .

[13]  Simon St. Laurent,et al.  Programming Web Services With XML-RPC , 2001 .

[14]  Donald E. Knuth,et al.  Semantics of context-free languages , 1968, Mathematical systems theory.

[15]  José Luis Sierra,et al.  Building a Syntax Directed Processing Environment for XML Documents by Combining SAX and JavaCC , 2008, 2008 19th International Workshop on Database and Expert Systems Applications.

[16]  Alda Lopes Gançarski,et al.  Attribute grammar-based interactive system to retrieve information from XML documents , 2006, IEE Proc. Softw..

[17]  PaakkiJukka Attribute grammar paradigmsa high-level methodology in language implementation , 1995 .

[18]  Donald E. Knuth,et al.  Correction: Semantics of Context-Free Languages , 1971, Mathematical Systems Theory.

[19]  Pithamber R. Polsani,et al.  Use and Abuse of Reusable Learning Objects , 2006, J. Digit. Inf..

[20]  Sam Ruby,et al.  RESTful Web Services , 2007 .

[21]  Frank Neven,et al.  Attribute grammars for unranked trees as a query language for structured documents , 2005, J. Comput. Syst. Sci..

[22]  Jyh-Charn Liu,et al.  XML Document Parsing: Operational and Performance Characteristics , 2008, Computer.

[23]  Jukka Paakki,et al.  Attribute grammar paradigms—a high-level methodology in language implementation , 1995, CSUR.

[24]  Donald E. Knuth Semantics of context-free languages: Correction , 2005, Mathematical systems theory.

[25]  Ethan Cerami,et al.  Web Services Essentials , 2002 .