I wanted to know how GWT.create behaves in Dev mode and Production mode.
I was trying to debug the code. The comment in the code says
/*
* In Production Mode, the compiler directly replaces calls to this
method
* with a new Object() type expression of the correct rebound type.
*/
In Dev mode it is creating a proxy for the service as GreetingService_Proxy
and loading it.
But in production what will the equivalent JavaScript code for it.
GWT.create is mainly used for deferred binding. Something like i have
different implementations for FileUpload.
But i am not able to understand why we need different implementations for a
service. Is this to create different JavaScript implementations for AJAX
calls.
Another things is, whenever i have different implementation the
module.gwt.xml file will tell implementation to pick. how this will work in
case of service?
Can any one please explain about this?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/6DwlIcloFxgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.