CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Oct 2006
    Posts
    144

    Communication between Java and C++

    Hi All.

    I am working on a project in which two machines are used. One machine is used as front-end machine, the other is used as back-end machine.

    The front-end machine is responsible to receive data from the user and to forward the data to the backend machine. The backend machine is responsible to processing the data and return the result to the frontend machine. In turn , the frontend machine forwards the result to the user.

    Both the frontend and backend machines run Linux. The data processing program (a legency system) on the backend machine is writtern in C++.

    Moreover, to facilitate the data submission, the system allows the user to visit a web page on the frontend in order to fill out and submit a form to the frontend machine. To implement this goal, currently i am going to use JSP to create a web page to collect data from the user and accordingly use Java/JavaBean to move data to and from the backend machine.

    However, i am not sure whether the above idea is correct or not. If it is feasible, then how to implement the communication between C++ (programming langauge used in backend machine) and Java (programming language used in frontend machine). Or, I should use C++ in the frontend machine too. Or I should use web service technology in the frontend.
    Or SOCKET technology?



    I would appreciate any help here
    Last edited by cy163; April 18th, 2008 at 09:44 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured