0

Is there an open source application that could integrate applications using multiple programming languages into a Java application?

Rich Seller
  • 83,208
  • 23
  • 172
  • 177

3 Answers3

2

Some options:

  • Languages that can be compiled and run into the JVM, like python and javascript. But you might have a difficult time if the programs where not built from the beggining to run inside the JVM.

  • JNI, java's native interface. This allows interfacing Java with native (i.e. C) languages. If your other language is not C or C++ then probably you will need to write a native interface for them too.

  • API. Using web services or socket communication have the two languages communicate.

  • Sharing data. Having both programs share files or databases in a common format.

flybywire
  • 261,858
  • 191
  • 397
  • 503
1

Not quite sure what you mean, but there are several languages that could be compiled to Java byte code and run under JVM.

Grzegorz Oledzki
  • 23,614
  • 16
  • 68
  • 106
1

http://en.wikipedia.org/wiki/Java_Native_Interface

The Java Native Interface is a programming framework that allows Java code running in a Java Virtual Machine to call and to be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages, such as C, C++ and assembly.

Paul Whelan
  • 16,574
  • 12
  • 50
  • 83