Using Java function / class from Delphi

In delphi, I am trying to call a function from an external Java program. Is there any way to do this?

+3
source share
2 answers

The standard process for invoking native code is through the JNI . A search in JNI and Delphi will show several pages that detail how this is done, for example this and this

What is more desirable (setting up some of the process server (for example, Peter has already been detailed, so I skipped this) or using JNI to call the library depends on how often (and how in real time) you need it, and on the admissible complexity of the installation / configuration

+3

Java, . .

1 , - , .

. activemq . , , Java, , , Java Delphi. , .

- Jetty - , . .

RPC-, COM, Corba, SOAP, , , . , , , , .

+2

Source: https://habr.com/ru/post/1750996/


All Articles