Hi Thib'z,

Once you've coded up your GWT application, you would then deploy it by
running the GWT cross-compiler over your source code to generate the
corresponding JavaScript and HTML files.

If you used the applicationCreator script to create your application, there
will be an emitted MyApplication-compile and MyApplication-shell scripts.
The -compile script is the GWT compilation script you can use to invoke the
GWT cross-compiler and generate your application JavaScript and HTML files.
Once these files are generated, all you need to do is host them on a web
server to start serving up your application.

Among the files you'll find a bunch of <md5>.cache.js files and a more
properly named MyApplication.nocache.js file. The .nocache.js file is your
GWT application bootstrap file. Add a <script> tag in your host HTML page
referencing the .nocache.js file to load up your GWT application. Again, if
you used the applicationCreator script, the host HTML page would have been
generated with the proper setup. The .cache.js files are different versions
of your application generated on a per-browser / per-locale basis. The
bootstrap script selects the right one to load and picks it up from the
server for a given client. The .cache suffix indicates that these files can
be cached forever, since the <md5> name is computed from your GWT source, in
which case code changes lead to new <md5>.cache.js files.

Hope that helps,
-Sumit Chandel

On Mon, Dec 8, 2008 at 10:49 AM, Thib'z <[EMAIL PROTECTED]> wrote:

>
> I have one remaining question : once the interface is build, what must
> I do to put it online ? Which files must I use ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to