docs.intersystems.com
Home  /  Application Development: Additional Options  /  InterSystems Programming Tools Index  /  Tools Index  /  Java


InterSystems Programming Tools Index
Java
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Connect from Java to InterSystems IRIS or from InterSystems IRIS to Java.
Connecting from Java to InterSystems IRIS
To connect to and leverage an InterSystems IRIS database from Java, the available tools are:
JDBC
Enables you to access InterSystems IRIS as a JDBC-compliant database. InterSystems IRIS includes a high-performance Type 4 JDBC database driver. The InterSystems JDBC driver is fully compliant with the JDBC 4.2 specification. See First Look: JDBC and InterSystems Databases and Using Java with the InterSystems JDBC Driver.
XEP
Provides high-performance Java persistence for simple to medium-complexity object schemas. XEP projects a Java object as a persistent event, which is a persistent database object that stores the state of a Java object. XEP is optimized for transaction processing applications that require extremely fast and simple data persistence; you can use XEP for object persistence to avoid the need an object/relational mapping (ORM). See First Look: XEP Object Persistence with InterSystems IRIS and Persisting Java Objects with InterSystems XEP.
Native API
Provides direct access to globals, which are tree-based sparse arrays at the core of InterSystems IRIS. The Native API for Java exposes these arrays and provides very fast and flexible access to them. The Native API also includes the ability to call InterSystems IRIS class methods and routines. See First Look: InterSystems IRIS Native API and Using the InterSystems Native API for Java.
Hibernate
Provides a framework for mapping Java classes to relational tables, also known as an object/relational mapping (ORM). InterSystems IRIS includes a Hibernate dialect. See Hibernate Support in the Implementation Reference for Java Third Party APIs.
Connecting from InterSystems IRIS to Java
To connect to and leverage Java from an InterSystems IRIS database, the available tools are:
Java Gateway
Enables InterSystems IRIS to interoperate with Java components. The Java Gateway can instantiate an external Java object and manipulate it as if it were a native object within InterSystems IRIS. See Using the Java Gateway in Productions.
Java Business Hosts
Enables InterSystems IRIS productions to interoperate with Java. See First Look: Connecting Systems Using Java Business Hosts.
See Also