Monday, September 2, 2013

How does codeserver parameter in GWT work?

n GWT in order to run the application in hosted mode "dev mode" you append get.codesvr parameter to the url as you can see below.

/?gwt.codesvr=127.0.0.1:9997

First question is I want to know how does GWT know when to start a JVM instance to serve .class files instead of compiled JavaScript files? I can't seem to find how GWT works in dev mode. I do find main( ) in com.google.gwt.devDevMode. How does this main( ) be called?

Second question is in the documentation it says that GWT devmode run with Jetty server, however I see actual JavaScript in browser. How does this jetty server outputs JavaScript from .class files of the client side code?

Thanks.

--
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