Question on HTTP interfacing (Java/C++)



Hi All,

I am developing a front end application in C++, which is to communicate with an EJB backend (Java 1.4). I will need to be able to submit requests to the backend, and also, receive notifications from the backend.

I have a C++ library that allows me to do HTTP GET and POST. I was thinking of possibly having some servlets on the EJB end, to handle my requests. I would be very interested in anyone who has done this kind of interfacing before - with regard to pitfalls I must be aware of, and any standard practices (or indeed other technologies) I may need to be aware of.

An area of concern is "pushing" messages or notifications from the server to the client ends, across the internet. Currently, I am thinking of using a polling mechanism - admittedly, not very elegant, I would much prefer to have a "notification" model where messages are dynamically pushed to clients - I will be very interested in hearing from anyone who has experience of implementing this kind of architecture.

Look forward to your responses.. MTIA

.


Quantcast