Java-C-Fortran interface
843829Mar 18 2010 — edited Mar 24 2010Hi,
I have a requirement to build interface with a Java website and Fortran programs.
Java website calls the fortran programs and result from fortran displayed on website.
I believe the only way to implement java-fortran interface is via C/C++ wrappers.
In typical way the request is like this
User (browser) <=> Application server <=> C/C++ wrapper <=> Fortran
Constraints I have are,
a> Java application server is on one machine where I am not allowed to run C/C++.
b> Fortran programs exist on another machine where I can run Fortran and C/C++ but no application servers available.
Questions are:
a> How can the java program call the C/C++ on other server?
b> Does C/C++ can be any type of webservice? If yes, how? does it require any application server installations?
c> what are the communication protocols between java and C/C++ program/webservice?