First, if you search this forum you will see that this question has been explored many times here.
Second, yes, GWT has been used for many large projects very successfully, in fact I would argue that it scales better than many other approaches - but that is really a personal take and beyond the point. Third, what exactly is the "problem" you are facing? If you make sure to not use PRETTY output, and you use gzip from the server side most gwt apps, even "large" ones end up being a very reasonable initial download size (the compression is significant, so the raw size of the compiler output is not what you want to go by), and remember that download is only required once (unless you change the app, etc). You should try to make very sure "size" is actually an issue at client download time (separating other issues like JS startup time from initial download size). If you really get into a situation where you think your app is too large for the initial download, and you are already compressing things, then you can break it up into different sections by making certain logical breaks into different modules. This requires inheritance, and it's a good idea to have a shared "model" among the other modules, etc, and it's more difficult to manage, but it can be done if it's really, really necessary. (Actually, though its a bit harder to setup at first, separating things and using GWT inheritance has many benefits, even if you aren't worrying about download size, it makes re-use and testing, and maint, etc, just much easier in the long run.) On May 11, 6:34 am, "[email protected]" <[email protected]> wrote: > Hi all, > > I am developing very large enterprise application... > I am facing the file size problem generated by the GWT compiler.... > I want to know how to reduce the generated javascript file size > (Generated by the GWT Compiler)? > I also want to know that is GWT good choice for Large Application... > > Thank you all :-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
