Joxm java object xml mapping
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

JOXM Java Object XML Mapping PowerPoint PPT Presentation

  • Uploaded on
  • Presentation posted in: General

JOXM Java Object XML Mapping. Jimmy Hua Jong-Seo Lee. Adam Dukovich Michael Huffman. Software Architecture. Object Relational Mapping (ORM). “the technique of converting records in a relational database into objects in an object-oriented programming environment.”

Download Presentation

JOXM Java Object XML Mapping

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript

Joxm java object xml mapping

JOXMJava Object XML Mapping

Jimmy Hua

Jong-Seo Lee

Adam Dukovich

Michael Huffman

Software architecture

Software Architecture

Object relational mapping orm

Object Relational Mapping (ORM)

“the technique of converting records in a relational database into objects in an object-oriented programming environment.”

Patrick Connor Linskey and Marc Prud'hommeaux


  • Need not to know about database management

  • ORM is in a language familiar to programmers

  • Ease of maintenance

    Used by many companies

    such as Intuit, IBM,

    Microsoft, Google, and more.

Software architecture1

Software Architecture

Xml extensible markup language

XML – eXtensible Markup Language

  • Structure which contains information about the relationship of data items

  • Is semi-structured data

  • 80% of the web is semi-structure data

  • Use XPath and XQuery to access in a native XML database

Software architecture2

Software Architecture

Software architecture3

Software Architecture

Software architecture4

Software Architecture

Problem description

Problem Description

A Java library that can store, retrieve and query object data in a native XML database has been an important issue.

This tool will offer the efficient way of manipulating XML database in Java programming environment.

Previous attempts

Previous Attempts

  • Hibernate XML, Hyperjaxb, and JaxMe

  • No feature able to directly convert Java Object to and from XML database

  • Data are not saved as XML databases but instead as relational DBMS

  • Selection of technology never intended for use with XML databases

  • Incomplete manual, feeble code base, and poor control of XML data manipulation



  • Persistence of any Java object into a native XML database

  • ConciseAPIsfor XML database manipulation

  • Local databases through the XML:DB API

  • Persistence API for XML data binding and querying

  • Support for issuing XPath queries, returning results as typed Java objects

Implementation overview

Implementation Overview

Existing Components

  • Database - we used eXist, an open source native XML database.

  • XStream – we used this component for serializing Java objects to XML, and vice versa.

    New Components

  • JOXM - this was the part we implemented. JOXM includes the code responsible for much of the administrative aspects of the program in general.



Conclusion future work

Conclusion/Future Work

  • Our goal to create an XML equivalent to Hibernate was successful

  • Some possible future work:

    • Allow users to issue XQuery queries to the database,

    • XPath interpreter for the Hibernate Query Language (HQL)

    • Transaction management

    • Provide support for the XQuery Update Facility (XQUF)



[1] "Hibernate - Relational Persistence for Java and .NET." 2006. Red Hat Middleware, LLC. <>

[2] Begoli, Edmund. "Hibernate 3 Adds XML-Relational Persistence." 2007. Jupitermedia Corporation. <>

[3] "Hyperjaxb3 - Relational Persistence for JAXB Objects." 2007. CollabNet. <>

[4] "JAXB: JAXB ReferenceImplementation." 2007. CollabNet. <>

[5] "Welcome to JaxME 2." 2004. Apache Software Foundation. <>

[6] Boag, Scott, Don Chamberlin, Mary F. Fernández, Daniela Florescu, Jonathan Robie and JérômeSiméon. "XQuery 1.0: An XML Query Language." 23 Jan. 2007. W3C. <>

[7] Clark, James and Steve DeRose. "XML Path Language (XPath) Version 1.0." 16 Nov. 1999. W3C. <>

[8] Staken, Kimbro. "XML Database API Draft." 2003. The XML:DB Initiative. <


[9] "The AspectJ Project." 2007. The Eclipse Foundation. <>

[10] "UID (Java 2 Platform SE 5.0)." 2004. Sun Microsystems, Inc. <>

[11] "Apache Xindice." 2007. Apache Software Foundation. <>

[12] "XQuery Update Facility." 11 Jul. 2006. W3C. <>

[13] "XUpdate - XML Update Language." 2003. XML:DB Initiative. <>

[14] "XStream - About XStream." <>

[15] " k5n Desktop Calendar (k5nCal)." 2007. <>

[16] "Spring Framework." 2006. <>

[17] "Resources for Test Driven Development." 2007. <>

[18] Meier, W. "eXist: An Open Source Native XML Database." Darmstadt University of Technology, Technical Report. <>

[19] "eXist: Open Source Native XML Database." 2007. <>

The end


  • Login