Using the Native SDK for Java

Call ObjectScript methods and manage global arrays from Java.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-the-native-sdk-for-java
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Using the Native SDK for Java
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/using-the-native-sdk-for-java
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-the-native-sdk-for-java

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill bridges the gap between Java applications and InterSystems IRIS databases, enabling seamless interaction with ObjectScript methods, global arrays, and transactions directly from Java.

Core Features & Use Cases

  • Call ObjectScript Methods: Execute any embedded language method from Java.
  • Manipulate Embedded Language Objects: Control InterSystems IRIS class instances using Java proxy objects.
  • Work with Global Arrays: Directly access and manage InterSystems IRIS's multidimensional storage model.
  • Use InterSystems Transactions and Locking: Implement database transactions and locking mechanisms within Java applications.
  • Use Case: A Java web application needs to retrieve and update data stored in InterSystems IRIS globals. This Skill allows the application to perform these operations efficiently without needing to write separate ObjectScript services.

Quick Start

Use the Using the Native SDK for Java skill to call the ObjectScript class method User.NativeTest.cmString with the argument "World".

Frequently Asked Questions about Using the Native SDK for Java

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call ObjectScript methods from a Java application?

To call ObjectScript methods from Java, use the Native SDK for Java to establish an external server connection and execute embedded language class methods directly through Java proxy objects.

Can I access InterSystems IRIS global arrays directly in Java?

Yes, you can access InterSystems IRIS global arrays in Java using the Native SDK, which provides direct read and write access to the multidimensional storage model from your Java application.

How do I manage InterSystems IRIS transactions and locking in Java?

Manage InterSystems transactions and locking in Java by utilizing the Native SDK to control database transaction boundaries and implement locking mechanisms within your Java application logic.

Does the Native SDK for Java support bidirectional communication with InterSystems IRIS?

Yes, the Native SDK supports bidirectional communication with InterSystems IRIS using external server connections and inverse proxy objects for seamless database integration.

What is the best way to integrate Java with InterSystems IRIS without writing separate ObjectScript services?

The best way to integrate Java with InterSystems IRIS without separate ObjectScript services is using the Native SDK for Java to manipulate embedded language objects and access database globals directly.

Do I need to write separate ObjectScript services to update data in InterSystems IRIS globals from Java?

No, you do not need separate ObjectScript services to update data in InterSystems IRIS globals from Java; the Native SDK allows direct manipulation of global arrays and embedded language objects.