This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Are GWT application heavy?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Are GWT application heavy on the client as they will download a couple of files for each browser?
Thanks in advance.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This link may help. Will GWT apps be larger than other Javascript apps? I think not, but it's probably not an apples to apples comparison. If you have a RIA toolkit, then you are more likely to create a richer, and therefore larger, app, no?

Cheers,
Glenn
 
author
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

This is a topic that I think needs more stats before it can be answered properly. The Google guys, like on the link Glen points to, say that GWT almost always beats hand written scripts etc, but figures are hard to come across.

As Glen mentions, there is a danger that given the ease of development there is a risk of throwing everything GWT has into your application so code will bloat, not due to GWT but just to using toys that may not have been used if it was more difficult to write.

GWTs approach aims to reduce size of output code as much as possible - each permutation only contains code for a particlar browser; the compiler aggressively removes unused Java code, unused i18n constants/messages are removed etc.

This article on this blog, http://timepedia.blogspot.com/2007/06/gwt-demystified.html, gives a good idea on what the compiler does and actually lists figures of source code versus compiler code sizes.

//Adam
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!