Krishnamuthu
Krishnamuthu

Reputation: 59

how to call a simple java program from intersystems cache?

I have seen the document of inter-systems cache describes calling other programming functions like c,Java. could any one help me to understand the way of doing it with simple Java example.

Upvotes: 0

Views: 427

Answers (1)

DAiMor
DAiMor

Reputation: 3205

For simple calling other programms from InterSystems Cache, you could use $zf(-1) function.
For example:

s sc=$zf(-1,"java -jar mysimple.jar")

But you have to know, that, calling interactive and other applications which must connect with user or with his desktop, who working in server where stand Cache, it is a bad way. And you have to use only console applications.

Upvotes: 1

Related Questions