Chapter 18. Application Programming in Java


The IMS Java function implements the JDBC API, which is the standard Java interface for database access. JDBC uses SQL (structured query language) calls. The IMS's implementation of JDBC supports a selected subset of the full facilities of the JDBC 2.1 API. The IMS-supported subset of SQL provides all of the functionality (select, insert, update, delete) of traditional IMS applications.

The IMS Java function also extends the JDBC interface for storage and retrieval of XML documents in IMS. For more information, see "XML Storage in IMS Databases" on page 321.

In addition to JDBC, the IMS Java function has another interface to the IMS databases called the IMS Java hierarchical database interface. This interface is similar to the standard IMS DL/I database call interface and provides lower-level access to IMS database functions than the JDBC interface. However, JDBC is the recommended access interface to IMS databases, and this chapter focuses on JDBC. For information about the IMS Java hierarchical database interface, see Appendix C, "IMS Java Hierarchical Database Interface" in IMS Version 9: IMS Java Guide and Reference.

In This Chapter:

  • "Describing an IMS Database to the IMS Java Function" on page 312

  • "Supported SQL Keywords" on page 313

  • "Developing JMP Applications" on page 314

  • "Developing JBP Applications" on page 315

  • "Enterprise COBOL Interoperability with JMP and JBP Applications" on page 316

  • "Accessing DB2 UDB for z/OS Databases from JMP or JBP Applications" on page 317

  • "Developing Java Applications That Run Outside of IMS" on page 317

  • "XML Storage in IMS Databases" on page 321



Introduction to IMS. Your Complete Guide to IBM's Information Management System
An Introduction to IMS: Your Complete Guide to IBMs Information Management System
ISBN: 0131856715
EAN: 2147483647
Year: 2003
Pages: 226

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net