Simple hello world code to show a Java connection to InterSystems IRIS
Go to file
DuongDo-Intersystems 1f4408f846
Update README.md
2019-07-01 21:27:33 -04:00
HelloWorld.java Add retrieve simple data 2019-06-04 15:56:54 -04:00
LICENSE Initial commit 2019-01-14 10:48:46 -05:00
README.md Update README.md 2019-07-01 21:27:33 -04:00
intersystems-jdbc-3.0.0.jar Remove simple folder 2019-06-04 10:10:23 -04:00

README.md

Samples-java-helloworld

This is a simple Hello World example to show a JDBC connection to InterSystems IRIS. It retrieves and outputs sample petstore data that has been preloaded into your instance of InterSystems IRIS.

Run the sample

In the integrated terminal window type:

  • cd /home/project/Samples-java-helloworld
  • javac -cp ".:intersystems-jdbc-3.0.0.jar" HelloWorld.java
  • java -cp ".:intersystems-jdbc-3.0.0.jar" HelloWorld

This outputs data about the first five birds stored within InterSystems IRIS.

Keep Exploring

  • To see another example using Java and InterSystems IRIS, see the Java multi-model example.
  • Or continue to work with the preloaded petstore data.