Abstract
In this paper we introduce Web Objects in XML (WOX) as a web protocol for distributed objects, which uses HTTP as its transport protocol and XML as its format representation. It allows remote method invocations on web objects, and remote procedure calls on exposed web services. WOX uses URIs to represent object references, inspired by the principles of the representational state transfer (REST) architectural style. Using URIs in this way allows parameters to be passed, and values returned, either by value or by reference. We present a case study, in which an existing chart application is exposed over the Internet using three different technologies: RMI, SOAP, and WOX. WOX proves to be the simplest way to implement this application, requiring less program code to be written or modified than RMI or SOAP. Furthermore, as a consequence of its REST foundations, WOX is particularly transparent, since any objects that persist after a WOX call may be inspected with any XML-aware web browser. It is also possible to invoke methods of persistent objects through a web browser.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Gamma, E., Halm, R., Johnson, R., Vlissides, J.: Design Patterns: elements of reusable object-oriented software. Addison-Wesley, Reading (1995)
Common Object Request Broker Architecture (CORBA) Object Management Group (2000), available at http://www.omg.org
Extensible Markup Language (XML), World Wide Web Consortium, available at http://www.w3.org/TR/REC-xml/
Java Technology Sun Microsystems (1994), available at http://java.sun.com
Latest SOAP Versions, World Wide Web Consortium (2003), available at http://www.w3.org/TR/soap/
Wollrath, A., Waldo, J.: The Java Tutorial, Trail: RMI Sun Microsystems, available at http://java.sun.com/docs/books/tutorial/rmi/
Winer, D.: XML-RPC Specification, available at http://www.xmlrpc.com/spec
Berners-Lee, T.: Universal Resource Identifiers - Axioms of Web Architecture, World Wide Web Consortium, available at http://www.w3.org/DesignIssues/Axioms.html
Fielding, R.: Architectural Styles and the Design of Network-based Software Architectures, available at http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Costello, R.: Building Web Services the REST Way, xFront, available at http://www.xfront.com/REST-Web-Services.html
Prescod, P.: Second Generation of Web Services, available at http://webservices.xml.com/pub/a/ws/2002/02/06/rest.html
He, H.: Implementing REST Web Services: Best Practices and Guidelines, available at http://www.xml.com/pub/a/2004/08/11/rest.html
Web Services - Axis, available at http://ws.apache.org/axis/ ASF, 2004
Jaimez González, C., Lucas, S.: Web Objects in XML: a Web Protocol for Distributed Objects, Technical Report, University of Essex (2005)
Jaimez González, C., Lucas, S.: Implementing a Pattern Recognition Application Using RMI, SOAP and WOX, Technical Report, University of Essex (2005)
Dynamic proxy classes, Sun Microsystems (1999), available at http://java.sun.com/j2se/1.3/docs/guide/reflection/proxy.html
db4o database (2006), available at http://www.db4objects.com/db4objects
MIME Media Types, Internet Assigned Numbers Authority (1999), available at http://www.iana.org/assignments/media-types/
JSON-RPC 1.1 Specification Working Draft (2006), available at http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html
Enterprise JavaBeans Technology, Java Platform, Enterprise Edition (Java EE) (2007), available at http://java.sun.com/products/ejb/
JBoss Application Server (2007), http://www.jboss.org/products/jbossas
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jaimez González, C.R., Lucas, S.M. (2007). Implementing a State-Based Application Using Web Objects in XML. In: Meersman, R., Tari, Z. (eds) On the Move to Meaningful Internet Systems 2007: CoopIS, DOA, ODBASE, GADA, and IS. OTM 2007. Lecture Notes in Computer Science, vol 4803. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-76848-7_40
Download citation
DOI: https://doi.org/10.1007/978-3-540-76848-7_40
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-76846-3
Online ISBN: 978-3-540-76848-7
eBook Packages: Computer ScienceComputer Science (R0)