XML for Java Developers

XML for Java Developers

An overview of the standards, technologies, tools and best practices for reading, writing and transforming XML in Java applications.

27 January 2005 (14-21)
Location: Sofitel Diegem (Diegem near Brussels (Belgium))
Presented in English by
Price: 480 EUR (excl. 21% VAT)

This event is history, please check out the List of Upcoming Seminars, or send us an email

Check out our related in-house workshops:

 Learning Objectives

Why do we organize this seminar ?

XML and Java are a good match: Java was conceived to write platform-independent and architecture-neutral applications, while XML was designed to model and process cross-platform data. The combination of Java and XML provides an all-purpose tool set for modern IT architects. By now, XML has delivered on its promise of being the worthy successor for the plain old-times ASCII format: today's configuration and exchange files all hold the recognizable <angle-brackets/>. Both languages are thoroughly internationalized and have been designed to work in a platform independent and distributed environment.

  This Book FREE with your Registration:

All participants get the book "Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX" by Elliotte Rusty Harold:
Imperfect XML

This seminar shows how easy it is to have your own Java code work with XML (read, write, store and transform). The W3C is still releasing new Recommendations in the XML space as we speak and the Java Community wraps those features in clear cut API's that offer easy programmer access to the rich feature set of the XML family of specifications (XML, XSLT, Xpath, Xpointer, Xlink, ...). Don't panic if this overwhelms you: we will give a brief introduction to all these XML specifications, so that you understand how they are mapped into the Java API's.

Taking the step into real-life XML application building, we go beyond the simple XML data handling and right into doing something useful with XML. We will cover how to avoid the typical pitfalls people often see regarding encoding issues and memory consumption. We will also discuss the newer developments like JAXB and STaX to come to real Java implementations of XML-based protocols and solutions:

  • XMLBeans (XML binding)
  • Cyberneko Tools (XML tools)
  • JXpath (Xpath query implementation)
  • Apache Cocoon (XML based web app framework)
  • xReporter (reporting engine)

This seminar will not only give a status-overview of the API's, and explain how you set them to work in your applications to build, interpret and transform your own XML streams, it will also try to comment on why and when you should decide on (not) using them in your XML&Java-based architectures.

Finally, we show where and how the different aspects of modern applications should use XML and benefit from the existing Java API's and implementations. To assist you in deciding what combination of Java and XML technology you should use, we will discuss in detail the strengths and weaknesses of Java/XML technologies in respect to what they offer. We will also explain the impact of the use of Java/XML technologies on tools, training, project & people management, ...

What will you learn during this seminar ?

  • What are the leading XML standards, techniques and tools (also open source) on the Java platform ?
  • How do you parse XML documents and data using Java ?
  • How do you generate XML documents and data from Java-based applications ?
  • What are the caveats of the offered API's?
  • How do I avoid the classic beginners mistakes?
  • What are the expert tips?
  • How do you query and store XML data and documents ?
  • How do you use DTDs and schemas on a Java platform ?
  • How do you marshall/unmarshall Java objects to XML ?
  • How do you speed up Java-based XML development using e.g. Web publishing frameworks, ... ?

Who should attend this seminar ?

This seminar is targeted towards solution architects, software developers and project managers who want to know how they can use the XML tools and technologies available on the Java platform to build innovative applications (both classical and Web-based).

This seminar is particularly useful for:

  • Business and IT managers who want to get an in-depth, technical overview of the full range of XML features and functionalities available on the Java platform, and the tools available to effectively use it
  • Solution architects and project managers who want to learn about the broad offering of Java-based tools (also open source), and where these can be used to design and build novel Web-based application architectures
  • Software developers who want to learn more about the extensive XML support offered by Java-based tools and technologies, and how they can effectively use this XML support to build sophisticated XML-based applications on the Java platform
  • Anyone who wants to know how the Java platform can be used to build innovative XML-based solutions
Note: The seminar assumes that you are already familiar with the basic concepts and syntax of XML, XSL and related standards. These will be discussed briefly where necessary, but will not be explained in detail. The most important Java patterns that are frequently used inside these API's will be explained.

 Full Programme

13.30h - 14.00h
Registration, coffee/tea and croissants
  This Book FREE with your Registration:

All participants get the book "Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX" by Elliotte Rusty Harold:
Imperfect XML

14.00h - 15.30h
Overview of what XML can do for Java developers
  • Why XML is so important today:
    • Separation of Concerns
    • Typical uses of XML in application development
    • The trend towards Aspect-Oriented Programming (AOP) and Inversion of Control
  • Short overview of the most important XML concepts and Java Patterns
    • XML building blocks
    • "well formedness"
    • Validation with DTD's and XSDL
    • Understanding XSLT
15.30h - 16.00h
Coffee/Tea and Refreshments
16.00h - 17.45h
Java API's for XML
  • An overview of the API's
  • Philosophy behind SAX, DOM, JDOM, JAXP, TRAX, and STaX
  • Code examples to make this clearer
  • A bird's eye view on the elements (interfaces and classes) of the API's
17.45h - 19.00h
19.00h - 20.15h
How to tackle XML problems with Java: tools and techniques
  • How to solve actual XML problems with Java:
    • Writing XML by hand vs using a standard API
    • Parsing XML with SAX, DOM, STaX or JAXB
    • Calling XSL transformations through TRaX
  • Available Java/XML solutions:
    • Various open source tools
    • Application servers and development tools
20.15h - 21.00h
What did we learn today: summary, conclusions and Q&A
  • Building modern n-tier applications with Java and XML
  • The road to Web services
  • Typical architectures, block diagrams and interfaces
  • What has to be in your XML/Java toolbox ?
End of this seminar


Marc Portier (Outerthought)

Marc Portier is one of the co-founders of Outerthought, a young, dynamic, technical Java & XML knowledge center. He has been professionally involved with Java since the early days, making him an early believer and life-long advocate. The web and XML related API's are his focal point in the continuous pursuit of new challenging API's in the many directions the language and platform has taken.Marc was found speaking on Java and XML topics on seminars and user conferences in Belgium, The Netherlands and the U.S.Outerthought is a Java, XML and open source consultancy built upon the knowledge, experience and expertise of its founders, who have been intimate with the technical issues of Java and XML-based Internet development for many years. Aside from their technical hands-on experience as developers and architects, they have been advocating, training and speaking about Java, XML and open source topics in general on numerous occasions.

Questions about this ? Interested but you can't attend ? Send us an email !