First of all, what I want is quite difficult, at least for me, but, on the other hand, it sounds exciting.
I have software written in delphi and I want the web client in real time at this time.
Requirements:
- Client Side Pure Javascript
- Brilliant interface (GWT, SmartGWT)
- Asynchronous connection between server and client. Ajax push, Long Polling, Comet, WebSocket?
Server side
On the delphi side, I think I can use ICS from Overbyte to handle requests. I know that THttpAppSrv from the ICS package can easily serve simple content, but what about Websocket or how can I do a lengthy poll with it?
Do you think this is a good combination (GWT, SmartGWT on the client side and ICS on the delphi side), is there any sample project or is there another solution?
Update Thanks for the helpful comments, I think I'm getting closer to the solution. It's good to know that GWT can use its own server, but I think Arno is right, GWT with its own Jetty server is a complete solution, but unfortunately not for me. :) I think I need a server written in delphi which can communicate with the GWT RPC.
Update 2 I accepted Arnaud Bouchez's answer, which looks best to me for the original question, however I think there is a better solution (if you change the requirements a bit) to create a client that works in the browser for the delphi application. I will just make a short comment here to share the idea. Finally, I used the node.js server and connected it to my delphi application using ZMQ .
source share