DocumentCode
1803695
Title
Loosely Coupling Java Algorithms and XML Parsers: a Performance-Oriented Study
Author
Psaila, Giuseppe
Author_Institution
Universit`a degli Studi di Bergamo, Italy
fYear
2006
fDate
2006
Firstpage
89
Lastpage
89
Abstract
The adoption of XML to represent any kind of data and documents, even complex and huge, is becoming a matter of fact. However, interfacing algorithms and applications with XML Parsers requires to adapt algorithms and applications: event-based SAX Parsers need algorithms that react to events generated by the parser. But parsing/loading XML documents provides poor performance (if compared to reading flat files): therefore, several researches are trying to address this problem by improving the parsing phase, e.g., by adopting condensed or binary representations of XML documents. This paper deals with the other side of the coin, i.e., the problem of coupling algorithms with XML Parsers, in a way that does not require to change the active (polling-based) nature of many algorithms and provides acceptable performance during execution; this problem becomes even more important when we consider Java algorithms, that usually are less efficient than C or C++ algorithms. This paper presents a study about the problem of loosely coupling Java algorithms with XML Parsers. The coupling is loose because the algorithm should be unaware of the particular interface provided by parsers. We consider several coupling techniques, and we compare them by analyzing their performance. The evaluation leads us to identify the coupling techniques that perform better, depending on the specific algorithm’s needs and application scenario.
Keywords
Data mining; Java; Machine learning; Machine learning algorithms; Memory management; Performance analysis; Performance evaluation; Virtual machining; Web services; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering Workshops, 2006. Proceedings. 22nd International Conference on
Conference_Location
Atlanta, GA, USA
Print_ISBN
0-7695-2571-7
Type
conf
DOI
10.1109/ICDEW.2006.73
Filename
1623884
Link To Document