DocumentCode
643939
Title
Estimating the Cost of XML Serialization of Java Objects
Author
Imre, Gabor ; Charaf, Hassan ; Lengyel, Laszlo
Author_Institution
Dept. of Autom. & Appl. Inf., Budapest Univ. of Technol. & Econ., Budapest, Hungary
fYear
2013
fDate
29-30 Aug. 2013
Firstpage
33
Lastpage
40
Abstract
XML is a frequently applied data representation format to support the communication between software systems even if they are on different platforms. The process of transforming an in-memory object instance into bytes of an XML document is called XML serialization, the opposite direction is XML deserialization. Both processes introduce some cost that influences the overhead of the communication. This paper proposes a performance model that can estimate the cost of XML serialization and deserialization on Java platform based on a priori knowledge of the type and size of the XML messages. Type and size information of the XML messages is usually available in the form of an interface definition, such as a Web Services Description Language (WSDL) file. We show that in most cases the cost can be expressed as a linear function of the object size, but exceptions are discussed as well. The suggested model is validated with measurements.
Keywords
Java; XML; document handling; object-oriented methods; Java objects; WSDL file; Web services description language; XML deserialization; XML document; XML messages; XML serialization; cost estimation; data representation format; extensible markup language; in-memory object instance; linear function; Java; Linear regression; Protocols; Service-oriented architecture; Time measurement; XML; Java; XML serialization; performance modeling;
fLanguage
English
Publisher
ieee
Conference_Titel
Engineering of Computer Based Systems (ECBS-EERC), 2013 3rd Eastern European Regional Conference on the
Conference_Location
Budapest
Type
conf
DOI
10.1109/ECBS-EERC.2013.13
Filename
6664507
Link To Document