Hi i want to make http request response communication protocol between one native application and web module. Native application is in vc++ while web module is in java. i gone through [this] (How do you make a HTTP request with C++?) it is useful for only http request in vc++. i implement simple file sending to web with curl and its working. Native app send request to web module(which is in java) is also working. but i have no idea how response from web module(java) send to native app.. is anyone here suggest me any API/Class/Function for communication protocol between vc++ and java?
Asked
Active
Viewed 376 times
0
-
The question isn't quite clear. Entire HTTP protocol is request/response based, so if you need somthing from a web-service you need to make an appropriate request first. – user3159253 Apr 26 '14 at 04:59
-
There're some extensions to the HTTP protocol which allow to receive data from server w/o a prior explicit request but you should clarify your situation, your problem so we could give reasonable advices. – user3159253 Apr 26 '14 at 05:02
-
pardon for english. Ilet me explain you again..i send one request to web in c++. web module has to response which is in java. how java response to request which come from vc++ – user3505712 Apr 26 '14 at 05:03
-
Ahh, the key word in your question is "asynchronous", right? – user3159253 Apr 26 '14 at 06:03
1 Answers
0
Asynchronous requests handling on the Java server side can be done using Servlet 3.0 API There're a lot of tutorials, here is the one of them for example.

user3159253
- 16,836
- 3
- 30
- 56