开发者

Comet with scala

开发者 https://www.devze.com 2023-02-17 01:49 出处:网络
I am developing one application with GWT as client and my server side code written in Java servelt and I am fetching some data from another server.that another server code is in Scala. so the question

I am developing one application with GWT as client and my server side code written in Java servelt and I am fetching some data from another server. that another server code is in Scala. so the question is how can i push data from another server to my main server and display 开发者_运维知识库that data to client using comet ( gwt-comet.jar)

Please help me.

Thanks


Comet is something that your web server must support, via continuations or some other implementation (see this as an example). Usually web frameworks (like Lift) have some wrapper around this mechanism to facilitate using it.

I'm no expert on GWT, but for what you say it seems it has a Comet library. Using it should be as simple as to implement classes following this library specifications and using a server that supports Comet.

0

精彩评论

暂无评论...
验证码 换一张
取 消