cy163
April 18th, 2008, 09:28 AM
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
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