Using JDeveloper with Oracle XDK Components
Oracle’s XML Developer’s Kit (XDK) includes many of the enabling XML technologies that we’ll be using in the rest of this book. Among other components, it contains Java and PL/SQL versions of the following:
Oracle XML Parser
Oracle XSLT Processor
Oracle XML SQL Utility
In addition, it includes an Oracle XSQL Servlet that comes with a Java API for adding your own so-called action handlers and programmatically processing XSQL Pages templates. In the following sections, we’ll discuss the basics of setting up JDeveloper to work with these Oracle XDK components in Java. While JDeveloper 3.1 does offer color-coded syntax editing of PL/SQL and the ability to browse stored procedures and run the SQL scripts against a named database connection, most of the true developer productivity features in the product target Java development (as you’d assume from the “J” in JDeveloper).
Adding Oracle XDK Libraries to Your Project
To dramatically simplify working with libraries of Java code in your projects, JDeveloper 3.1 has a facility called named libraries . Each library consists of:
A user-friendly library name like “Oracle XML Parser 2.0.”
A Class path comprising one or more
.jarfiles,.zipfiles, or directories separated by semicolons, containing the executable classes to support the library; for example,J:\lib\xmlparserv2.jar.An optional Source path comprising one or more
.jarfiles,.zipfiles, or directories containing the Java source code ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access