Skip to main content


To enable Java developers to leverage the scalability, connectivity, and reliability of the InterSystems IRIS® data platform, InterSystems IRIS supports several types of connections to and from Java applications.

Get acquainted

documentation iconInterSystems Java Connectivity Options

Navigation iconJava IDEs

documentation iconUsing Java with InterSystems Software

Try it

interactive icon Java Quick StartOpens in a new window

interactive iconExperience Java and InterSystems IRISOpens in a new window

interactive iconDesigning a Java Connection StrategyOpens in a new window

Connect a Java application to InterSystems IRIS

JDBC API for relational access

The JDBC (Java Database Connectivity) API enables you to perform operations on InterSystems IRIS® data using SQL.

InterSystems IRIS includes a high-performance Type 4 JDBC database driver that complies with the JDBC 4.2 specification. The driver accepts the following connection URL (or connection string):

Copy code to clipboard

where the variables represent the InterSystems IRIS instance host’s IP address, the instance’s superserver port, and a namespace on the instance

video icon Using JDBC with InterSystems IRISOpens in a new window

interactive iconFirst Look: JDBC and InterSystems Databases

documentation iconUsing the JDBC Driver

documentation iconJDBC API ReferenceOpens in a new window

external link iconJDBC documentationOpens in a new window

XEP API for high-speed object access

The XEP (Express Event Persistence) API provided by InterSystems enables Java applications to store and retrieve objects that adhere to simple or moderately complex schemas from InterSystems IRIS®. More specifically, XEP projects Java objects as persistent events, which are persistent database objects that store the state of Java objects.

XEP is optimized for applications that must handle high throughput, such as transaction processing applications.If you use XEP for object persistence, you can avoid the overheard of object-relational mapping.

interactive icon First Look: XEP Object Persistence with InterSystems IRIS

interactive iconUsing XEP with Java ApplicationsOpens in a new window

documentation iconPersisting Java Objects with InterSystems XEP

documentation iconJava XEP API ReferenceOpens in a new window

Native API for direct access to data

The Native API for Java provides direct access to globals, the tree-based sparse arrays that form the basis of the InterSystems multidimensional storage model and underlie the InterSystems IRIS® object and SQL interfaces. The Native API exposes these native data structures, which provide very fast, flexible storage and retrieval. The Native API also enables your Java application to work with InterSystems IRIS objects as easily as if they were native Java objects, and includes the ability to call InterSystems IRIS class methods and routines.

video iconUsing the Native API for JavaOpens in a new window

interactive iconFirst Look: InterSystems Native API for Java

documentation iconUsing the InterSystems Native API for Java

Navigation iconNative APIs

Hibernate API for complex object data models

The Hibernate API is a third-party tool that maps complex Java data classes to InterSystems IRIS®. InterSystems IRIS includes a Hibernate dialect.

video iconUsing Hibernate with InterSystems IRISOpens in a new window

documentation iconHibernate Support

Connect InterSystems IRIS to an external application

documentation icon Using the Java Gateway

For instantiating external Java objects and manipulating them like native objects in InterSystems IRIS

documentation icon Using the InterSystems SQL Gateway

For connecting to external databases via JDBC

documentation icon Using the InterSystems Spark Connector

For using InterSystems IRIS as an Apache Spark data source

Explore more

interactive iconFirst Look: The Java Gateway and InterSystems Products

interactive iconStock Trading with JavaOpens in a new window

interactive iconUsing a Java Shared Memory ConnectionOpens in a new window

InterSystems linkInterSystems Developer CommunityOpens in a new window

Navigation iconSQL

FeedbackOpens in a new window