Product Description
Creating, validating, and transforming XML documents with Oracle’s IDE
- Will get the reader developing applications for processing XML in JDeveloper 11g quickly and easily
- Self-contained chapters provide thorough, comprehensive instructions on how to use JDeveloper to create, validate, parse, transform, and compare XML documents.
- The only title to cover XML processing in Oracle JDeveloper 11g, this book includes information on the Oracle XDK 11g APIs.
- Packed with example code and detailed commentary, the book is fully illustrated with functional step-by-step examples.
In Detail
XML is an open standard for creating markup languages and exchanging structured documents and data over the Internet. JDeveloper 11g presents an effective, quick, and easy-to-use means of processing XML documents.
Inspired by the author’s previous XML articles for the Oracle community, this expanded hands-on tutorial guides newcomers and intermediate users through JDeveloper 11g and XML document development. It offers up-to-date information on working with the latest version of JDeveloper, and brand new information on JAXB 2.0 support in JDeveloper 11g. Filled with illustrations, explanatory tables, and comprehensive instructions, this book walks the reader through the wide assortment of JDeveloper’s capabilities.
Oracle’s JDeveloper 11g is an Integrated Development Environment that provides a visual and declarative approach to application development. Over the course of 14 chapters, readers will get hands-on with JDeveloper as the comprehensive and self-contained tutorials provide clear instruction on the key XML tasks that JDeveloper can accomplish.
Filled with practical information and illustrated examples, this book shows the reader how to create, parse, and store XML documents quickly, as well as providing step-by-step instructions on how to construct an XML schema and use the schema to validate an XML document.
Oracle’s XML Developer Kit (XDK) offers a set of components, tools, and utilities for developing XML-based applications, and developers will find the detailed XDK coverage invaluable. Later chapters are given over to using XPath, transforming XML with XSLT, and using the JSTL XML Tag Library.
Moving through the book, a chapter on the JAXB 2.0 API shows you how to bind, marshal and unmarshal XML documents, before we finally delve into comparing XML documents, and converting them into PDF and Excel formats. In all, this book will enable the reader to gain a good and wide-ranging understanding of what JDeveloper has to offer for XML processing.
What you will learn from this book?
- Learn what JDeveloper 11g can do for XML document generation.
- Rapidly create, format, compare, and schema validate XML documents.
- Master the built-in XML features in JDeveloper 11g including schema validation, the XSD Visual Editor for creating an XML schema, the XPath Search tool for selecting XML nodes with XPath, and the JAXB compiler for generating JAXB 2.0 Content Model from an XML Schema.
- See how to work quickly and efficiently with the Oracle XML Developer Kit (XDK 11g)
- Gain a valuable understanding of JAXP, XPath, XSLT, JAXB 2.0, DOM 3.0, and the JSTL XML Tag Library.
- Convert XML to Excel and PDF formats, store XML in Oracle Berkeley DB XML, and create Oracle XML Publisher Reports.
Approach
This book is for newcomer and intermediate Java developers who want to work with XML documents using JDeveloper 11g. No previous knowledge of JDeveloper is assumed but the reader will need to be comfortable in XML and Java environments.
Who this book is written for?
Employing a comprehensive tutorial-based approach, this easy-to-follow book shows the reader various means of processing XML documents using the power of Oracle’s JDeveloper 11g. In next to no time, the reader will be able to create, format, transform, compare, and schema validate XML documents with Oracle’s IDE.


processing XML document with Jdeveloper 11g is very book. I wanted to know all the features in Jdeveloper (wizards) that one would use in creating, processing XML, XSD, XPATH, XSL
This book really shows the illustrations in a simple step by step manner. I highly recommend anyone who want to FAST TRACK there XML, XSD, XPATH skills and use it in SOA, OR WebServices. 5 STARS.
Rating: 5 / 5
The books that concern Oracle JDeveloper are very limited and this one really worth studying. The chapters are roughly organized in three major areas:
- The Oracle XDK API capabilities for processing XML documents
- The XML tools and visual editors that JDeveloper provides
- The description of standardized or open-source XML libraries (such as those of Apache) that are commonly used in Java projects.
All examples in the above areas are very well explained and are described in detail for the environment of JDeveloper 11g. In summary, the pace of the book is easy to follow, especially from a beginner perspective and the abundance of examples make it a perfect match for a reference book.
[...]
Rating: 4 / 5
Recently I have been approached by Packt Publishing to review their recently released book “Processing XML documents with Oracle JDeveloper 11g” by Deepak Vohra. They were kind enough to send me an e-book, which suits more to a person like me who lives out of suitcase.
Coming back to the point, as the book rightly mentioned, its objective is “to discuss XML development in Oracle JDeveloper” especially around JDeveloper 11g. JDeveloper has matured into a very robust IDE especially in J2EE and SOA arena. It’s XML handling capabilities are worthy enough to be mentioned separately. In a way Gaurav did a very smart job of focusing on one topic rather than try to cover wider topics in shallow waters.
First six chapters covers the basic of XML document, DOM, SAX, XSD, XSLT, XPath, JSTL XML taglibs. It was little bit an over-stretch for me, but I wouldn’t discount it completely as it can be really helpful for somebody who is really starting from scratch (truly no exemption). Most of the examples covered in these chapters can be easily mapped to other parsers without much difficulties. Chapter seven, eight and nine are amongst the ones which interested me most. I like theory portion of DOM 3.0 LS.
Chapter 10, 11, 12, 13 and 14 covers interesting and useful applied XML technologies like XMLDiff, XML2PDF, XML2XLS, Berkeley and XML Publisher. Chapters cover enough to give you a start but to deal with real life scenarios you might have to dig deeper. All in all these chapters might excite those who really like to try something new and different.
Overall it’s an easy read book which explains XML fundamentals in easy to understand language. I would definitely like this book as a beginner but it doesn’t have a lot to offer at intermediate level. I would have like to see some literature around SDOM, AJAX, StAX. All in all this is a good beginners book covering XML and related technologies.
[...]
Rating: 3 / 5
Oracle XML Developer Kit (XDK) is a set of components, tools and utilities in Java which is available in Oracle Database, Oracle Application Server and on OTN that eases the task of building and deploying XML-enabled applications with a commercial redistribution license. XDK has several useful components such as XML Parsers, XSLT Processors, XSLT VM, XML Schema Processors, XML Java Beans, XML Class Generator, XML SQL Utility and XSQL Servlet.
Oracle JDeveloper provides a rich set of tools and utilities for the XML processing. JDeveloper includes the XDK and any developer can make use of its powerful features to develop any XML based applications. Processing XML Documents with Oracle JDeveloper is a great book and i would highly recommend for everyone working with XDK, and JDeveloper.
The author Deepak Vohra did a good job in describing the various steps for the XML Processing, XML Schema Validation, XPath Support, XML and XSLT Transformations. For more advanced users of XML, this book also talks about the topics such as Java XML Binding (JXB), API for comparing the documents, Converting XML to PDF, Converting XML to MS Excel, and finally storing the XML in Oracle Berkley DB XML.
This book provides a quick reference guide to any developer who starts their XDK development using JDeveloper. Author emphasized well enough about the small details that every developer should know in XML processing. Author gives a good introduction about all the technologies that he talks and mentions the APIs in detail. I really liked the part where the author gives a complete java source code (in almost each chapter) along with the comments to explain the purpose of the following code. This book did a good job in setting up the context for running the applications. Author describes the steps to setup the extra environment variables to bet set, jars to be added and how to navigate in JDeveloper. With this sort of detailing, any developer could just look at the book and will be able to start the development right away. Also, the publisher, Packt extracted chapter (Chapter 4: XPath) from the book and you can find it here: http://www.packtpub.com/files/processing-xml-documents-with-oracle-jdeveloper-11g-sample-chapter-4-xpath.pdf.
I would definitely recommend this book for the XML developers using XDK and JDeveloper.
Rating: 5 / 5
I can honestly say that this is the best XML on Oracle book that I have read in years. This book is the perfect reference for someone experienced in Java and XML to get their feet wet using Oracle JDeveloper 11g. While this book will not teach you XML or Java, if you are already using either of these technologies, and want to try Oracle’s Java IDE, this is the book.
Oracle JDeveloper 11g is a huge resource for XML processing. I have been using Oracle’s XML Developer’s Kit (XDK) since its first release (I was actually a beta user) way back in 2000. I have to say that both the XDK and JDeveloper have come a long way since then and the author presents that fact in this step by step reference.
This is a fairly code heavy book and it expects you to be hands on while reading. It’s almost a cookbook but leans more toward an out and out reference. It’s the type of book that you will probably read through quickly once and then keep on your desk to refer back to.
Chapter 1 -Creating and Parsing an XML Document
Chapter 1 is you basic XML starter chapter. A quick overview of XML and then a dive into creating and parsing an XML document. This is a good preview for the rest of the book. There is an XML document on page 1 and page 2 starts configuring JDeveloper.We’re looking at Java code by the 4th page in the chapter.
This chapter provides code (using JDeveloper 11g) for creating an XML document and then parsing it using DOM and SAX parsers.
Chapter 2 – Creating an XML Schema
Chapter 2 starts with a quick overview of XML schemas and then jumps into creating one and registering it with JDeveloper (to take advantage of built-in JDeveloper functionality).
Chapter 3 – XML Schema Validation
This chapter shows the various methods for validating an XML document against an XML schema. The authors provides code for DOM, SAX and XSDValidator. I have not used XSD Validator myself so this was a nice tutorial. Very understandable if you grok XML Schema.
Chapter 4 – XPath
AWESOME Chapter! A must read. Seriously. I did not know that JDeveloper offered this functionality. XPath searches in your document right inside the IDE. Sweet! This feature alone may convince you to make JDeveloper 11g your XML editor of choice. And this is free software!
This chapter provides a quick overview of XPath and then jumps into Oracle JDeveloper’s XPath support. You also get Java code for accessing XML in a DOM using XPath.
You can download the chapter from Packt and give it a read. Even if you don’t buy the book, this is a great PDF to keep on your EBookshelf.
Chapter 5 – Transforming XML with XSLT
Some people take absolute joy in XSLT. I find it to be more of a necessary evil. However, JDeveloper offers tools to assist and make it less painful. The author covers XSLT, parsing and transforming a document as well as Oracle extensions.
Chapter 6 – JSTL XML Tag Library
This is a fairly short chapter on JSP and the JSP tag library. You’ll see how to configure JDeveloper and a quickie java JSP application.
Chapter 7 – Loading and Saving XML with DOM 3.0 LS
This chapter provides deep details into the (fairly) new DOM LS API. LS stands for Load and Save. I have not used this API as of yet but after reading this chapter, I see where I may be able to take advantage of it. One of the biggest factors in making good decisions when designing an application is know what tools you have available to you. This is a tool you need in your toolbox (unless you never use anything but JAXP and I don’t know anyone that applies to).
This chapter has some great code to loading, saving and filtering XML documents using the LS API.
Chapter 8 – Validating an XML Document with DOM 3.0 Validation
Not much to say about XML validation. This chapter shows you how to modify an XML document and then validate it using DOM. The DOM 3.0 spec allows for dynamic validation.
Chapter 9 – JAXB 2.0
This chapter is an overview of JAXB (a way of binding XML to Java code). This is a fairly short chapter but does provide code and a step by step tutorial.
Chapter 10 – Comparing XML Documents
Another API that I haven’t used (yet) is the XMLDiff class. The chapter describes several XML Diff tools that you can get from various vendors and then moves on to the differ package provided in the XDK 11g API. The author walks you through JDeveloper configuration and then, once again, provides code to use it.
Chapter 11 – Converting XML to PDF
Chapter 12 – Converting XML to MS Excel
Chapter 13 – Storing XML in Oracle Berkeley DB XML
Chapter 14 – Oracle XML Publisher
These four chapters talk about exactly what the chapter title says they do. They are somewhat niche topics but provide nice tutorials for those times when you need to generate PDF or Excel files or if you use Berkeley DB or XML Publisher.
Summary
Not much I can say here except I have learned much about Oracle JDeveloper 11g and I now feel a lot more comfortable using the tool. JDeveloper is a robust tool and besides providing a great IDE, it provides a lot of time savers and tool for creating, viewing and manipulating XML right in the IDE. The author does a great job providing the context and examples.
This is a book that will stay on my active shelf (as opposed to the dust gathering might need it someday shelf).
Don’t forget that you can download the chapter from Packt and give it a read.
LewisC
http://database-geek.com
Rating: 5 / 5