Interacting with Data In Java Using Multiple Data Models
Try out the multi-model architecture of InterSystems IRIS® data platform, which lets you write code using the data models that best fit each task in your application. Multi-model access in InterSystems IRIS is possible due to an underlying data structure called globals, which allow you to interact with your data directly. These provide flexible data access while avoiding data duplication.
With Java, you can interact with your data using globals, connecting to InterSystems IRIS with the Native API. Another option is to connect with JDBC and use industry-standard SQL to access your data. In this case, data is modeled as a relational table. You can also use XEP or Hibernate to treat the same data as objects, without the need for additional object-relational mapping software.
The same capabilities exist whether you are programming in InterSystems ObjectScript or using one of the external language APIs. If you are more familiar with a different language, try this exercise in Python, ObjectScript, or .NET.
Watch the video and try the exercise below!