Simple hello world code to show a Java connection to InterSystems IRIS
Go to file
semanej d3f4e3f527
Minor grammar
2019-06-05 10:25:45 -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 Minor grammar 2019-06-05 10:25:45 -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 pre-loaded 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

Keep Exploring

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