Introduction to the Java Native SDK
See the Table of Contents for a detailed listing of the subjects covered in this document. See the Java Native SDK Quick Reference for a brief description of Native SDK classes and methods.
The InterSystems Native SDK for Java is a lightweight interface to powerful InterSystems IRIS® resources that were once available only through ObjectScript:
-
Call ObjectScript Methods and Functions — call any embedded language classmethod from your Java application as easily as you can call native Java methods.
-
Manipulate Embedded Language Objects — use Java proxy objects to control embedded language class instances. Call instance methods and get or set property values as if the instances were native Java objects.
-
Work with Global Arrays — directly access globals, the tree-based sparse arrays used to implement the InterSystems multidimensional storage model.
-
Use InterSystems Transactions and Locking — use Native SDK implementations of ObjectScript transactions and locking methods to work with InterSystems databases.
To use the Native SDK for Java, you must download the Java connection package as described in Connection ToolsOpens in a new tab.
Versions of the Native SDK are also available for .NET, Python, and Node.js:
To learn more about globals, see the following:
-
InterSystems IRIS Basics: Globals and Multi-Model Data Access — Explains what globals are and how they can be accessed using a relational model, using an object model, or directly.
-
Exploring Multiple Data Models with Globals Opens in a new tab — Provides an online hands-on exercise that lets you try accessing globals in all three ways.
-
Using Globals — Describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.