Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

java servlet accesing a c++ programm

Thread view: 
cod3nam3 - 10 Sep 2007 21:11 GMT
Hi, iam trying to access a c++ programm from a java servlet. The point
is that the main programm is written in c++ and now it shold have a
web interface using java servlets. I googled and googled but havent
found any solution for this problem.
Mike  Schilling - 10 Sep 2007 22:05 GMT
> Hi, iam trying to access a c++ programm from a java servlet. The point
> is that the main programm is written in c++ and now it shold have a
> web interface using java servlets. I googled and googled but havent
> found any solution for this problem.

If by "access" you mean "make function calls to", you need to look into JNI.
If you mean "communicate to a C++ program running in another process" you
have many, many options, the simplest of which is probably communication via
a socket.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.