JSUG - TU Wien Castor Project by Lukas Lang

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    JSUG - TU Wien Castor Project by Lukas Lang - Presentation Transcript

    1. JDO Extensions for the XML Code Generator Open Source Student Project Lukas Lang (lukaslang@codehaus.org) Advanced Software Engineering Summer Term 2008 Vienna University of Technology
    2. Castor \"Castor is an Open Source data binding framework for Java.β€œ β€œIt's the shortest path between Java objects, XML documents and relational tables.β€œ [1] [1] http://www.castor.org
    3. Castor Java-to-XML Binding <?xml version=\"1.0\"?> <Person id=\"47\"> <Surname>Doe</Surname> <GivenName>John</GivenName> </Person> marshalling/unmarshalling
    4. Castor Java-to-SQL Persistierung
    5. Castor Who wants to write mapping files for heaps of POJOs?
    6. Castor XML Source Generator generates POJOs <xsd:complexType name=\"Person\"> <xsd:sequence> <xsd:element name=\"Surname\" type=\"xsd:string\"/> <xsd:element name=\"GivenName\" type=\"xsd:string\"/> </xsd:sequence> </xsd:complexType> POJOs
    7. JDO Extensions JDO Source Generator reads JDO annotations and generates mapping descriptors annotated XML schema
    8. JDO Extensions JDO Source Generator <xsd:complexType name=\"Person\"> <xsd:annotation> <xsd:appinfo> <jdo:table name=\"person\" identity=\"id\" /> </xsd:appinfo> </xsd:annotation> ... </xsd:complexType>
    9. JDO Extensions JDO Source Generator ... <xsd:sequence> <xsd:element name=\"Id\" type=\"xsd:integer\"/> <xsd:annotation> <xsd:appinfo> <jdo:column name=\"id\" type=\"jdo:integer\" /> <xsd:appinfo> </xsd:annotation> <xsd:element name=\"Surname\" type=\"xsd:string\"/> <xsd:annotation> <xsd:appinfo> <jdo:column name=\"surname\" type=\"jdo:string\" /> </xsd:appinfo> </xsd:annotation> <xsd:element name=\"GivenName\" type=\"xsd:string\"/> </xsd:sequence> </xsd:complexType>
    10. JDO Extensions JDO Source Generator <jdo:table .../> <jdo:column .../> <jdo:one-to-one .../> <jdo:one-to-many .../>
    11. Benefits Castor New feature! People involved! Simple persistence Mapping of relations Users Get rid of repetive tasks > Gain motivation ;-)
    12. Benefits Students Mentored software project Expertise in open source projects Community Process and Mailing Lists Prototyping & Scrum Test Driven Development Keep participating!
    13. Participate Join development mailing lists Write a patch ;-) Apache Cocoon http://cocoon.apache.org Castor http://www.castor.org GsoC 2009 (Google Summer of Code) Application deadline: April 7th! http://code.google.com/soc/ Thanks to flickr users: captainblackadder, kubina, refractedmoments & caius

    + Christoph PicklChristoph Pickl, 10 months ago

    custom

    420 views, 0 favs, 0 embeds more stats

    visit www.jsug.at for more stuff

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 420
      • 420 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories