0

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

2
  • Java is not an acronym, or a word to be shouted (often) Commented Oct 7, 2009 at 7:57
  • What do you mean by "applications"? Desktop apps? Web apps? Commented Oct 7, 2009 at 8:02

3 Answers 3

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.

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.