About This Book
The InterSystems Native API for Java is a lightweight extension to the InterSystems JDBC driver. It gives your Java application direct access to powerful InterSystems IRIS® resources formerly available only in ObjectScript. You can call ObjectScript methods and functions, create and control instances of an ObjectScript class, directly access InterSystems global arrays, and much more. All Native API classes access the database through a standard JDBC connection, and can be used without any special setup or installation procedures.
The following chapters discuss the main features of the Native API:
Introduction to the Native API — gives an overview of Native API abilities and provides some simple code examples.
Calling ObjectScript Methods and Functions — describes how to call ObjectScript classmethods and functions.
Using Java Reverse Proxy Objects — demonstrates how to manipulate ObjectScript objects through Object Gateway reverse proxy objects.
Working with Global Arrays — describes how to create, change, or delete nodes in a multidimensional global array, and demonstrates methods for iteration and data manipulation.
Transactions and Locking — describes how to work with the Native API transaction and concurrency control model.
Native API Quick Reference — provides a brief description of each Native API method mentioned in this book.
There is also a detailed Table of Contents.
Versions of the Native API are also available for .NET, Python, and Node.js:
The following book is highly recommended for developers who want to master the full power of globals:
Using Globals — describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.
The Native API is part of a suite that also includes lightweight APIs for object and relational database access. See the following books for more information:
Using Java with InterSystems Software — provides an overview of all InterSystems Java technologies, and describes how use the InterSystems JDBC driver for relational data access to external data sources.
Persisting Java Objects with XEP — describes how to store and retrieve Java objects using the InterSystems XEP API.