Skip to main content

Java

To enable Java developers to leverage the scalability, connectivity, and reliability of the InterSystems IRIS for Health™, InterSystems IRIS for Health supports several types of connections to and from Java applications.

Get acquainted

InterSystems Java Connectivity Options

Java IDEs

Using Java with InterSystems Software

Try it

Experience Java and InterSystems IRISOpens in a new tab

Designing a Java Connection StrategyOpens in a new tab

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 for Health™ data using SQL.

InterSystems IRIS for Health 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):

jdbc:IRIS://ipAddress:superserverPort/namespace

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

Using JDBC with InterSystems IRISOpens in a new tab

InterSystems IRIS Basics: JDBC and InterSystems Databases

Using the JDBC Driver

JDBC API ReferenceOpens in a new tab

JDBC documentationOpens in a new tab

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 for Health™. 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.

Demo: XEP Object Persistence with InterSystems IRIS

Using XEP with Java ApplicationsOpens in a new tab

Persisting Java Objects with InterSystems XEP

Java XEP API ReferenceOpens in a new tab

InterSystems Native SDK for Java

The InterSystems IRIS for Health™ Native SDK for Java is a lightweight interface that allows Java applications to access powerful InterSystems IRIS for Health resources formerly available only through ObjectScript:

Important:

To use the Native SDK for Java, you must download the Java connection package as described in Connection ToolsOpens in a new tab.

Native SDKs are also available for Python, .NET, and Node.js.

Read all about it

Using the InterSystems Native SDK for Java

Java Native SDK Reference DocOpens in a new tab

Explore more

Java IDEs

Stock Trading with JavaOpens in a new tab

Hibernate API for complex object data models

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

Using Hibernate with InterSystems IRISOpens in a new tab

Hibernate Support

Connect InterSystems IRIS to an external application

Using InterSystems External Servers

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

Using the InterSystems SQL Gateway

For connecting to external databases via JDBC

Explore more

Stock Trading with JavaOpens in a new tab

Using a Java Shared Memory ConnectionOpens in a new tab

InterSystems Developer CommunityOpens in a new tab

SQL

FeedbackOpens in a new tab