Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java-C-Fortran interface

843829Mar 18 2010 — edited Mar 24 2010
Hi,

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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2010
Added on Mar 18 2010
11 comments
268 views