Friday, July 26, 2013

Re: Extending the GWT Tutorial App StockWatcher

My understanding is that http://en.wikipedia.org/wiki/WebSocket is the coming "standard" way to do things like this. Stills seems quite a wild west part of web technology. 20 years of the client just pulling from the server...

On Thursday, July 25, 2013 6:43:08 PM UTC+1, Robert Lockwood wrote:
Thanks for the link, I'll check it out.   This is part of a leaning process to control a couple of physical devices externally "attached" to the host computer.

 

On Thursday, 25 July 2013 00:22:43 UTC-7, salk31 wrote:
It would be unusual to start a thread on the server to do this.

Why don't you want the client to poll?

If you really want to push from the server then you are into complicated stuff like https://code.google.com/p/gwt-comet/   I've never used any of this stuff.

What is your server implemented in? In JEE starting your own thread is against the spec. There are things like scheduled jobs etc to do that for you.

Deep waters if you really are a novice! 

All the best

Sam

On Wednesday, July 24, 2013 8:38:23 PM UTC+1, Robert Lockwood wrote:
I just completed the GWT tutorial StockWatcher on my Ubuntu 12.04 machine using the IDE Eclipse. 

The second part of the tutorial implements an asynchronous call back but what I want to do is move the timer to the server side to make it completely asynchronous. But I don't quite see the way to do this.

Will I need to start a thread on the server side for the timer?. I'm pretty much a novice at web pages, css, and servers.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment