Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 50893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:39:53+00:00 2026-05-10T16:39:53+00:00

I’m at the beginning/middle of a project that we chose to implement using GWT.

  • 0

I’m at the beginning/middle of a project that we chose to implement using GWT. Has anyone encountered any major pitfalls in using GWT (and GWT-EXT) that were unable to be overcome? How about from a performance perspective?

A couple things that we’ve seen/heard already include:

  • Google not being able to index content
  • CSS and styling in general seems to be a bit flaky

Looking for any additional feedback on these items as well. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:39:53+00:00Added an answer on May 10, 2026 at 4:39 pm

    I’ll start by saying that I’m a massive GWT fan, but yes there are many pitfalls, but most if not all we were able to overcome:

    Problem: Long compile times, as your project grows so does the amount of time it takes to compile it. I’ve heard of reports of 20 minute compiles, but mine are on average about 1 minute.

    Solution: Split your code into separate modules, and tell ant to only build it when it’s changed. Also while developing, you can massively speed up compile times by only building for one browser. You can do this by putting this into your .gwt.xml file:

    <set-property name='user.agent' value='gecko1_8' /> 

    Where gecko1_8 is Firefox 2+, ie6 is IE, etc.


    Problem: Hosted mode is very slow (on OS X at least) and does not come close to matching the ‘live’ changes you get when you edit things like JSPs or Rails pages and hit refresh in your browser.

    Solution: You can give the hosted mode more memory (I generally got for 512M) but it’s still slow, I’ve found once you get good enough with GWT you stop using this. You make a large chunk of changes, then compile for just one browser (generally 20s worth of compile) and then just hit refresh in your browser.

    Update: With GWT 2.0+ this is no longer an issue, because you use the new ‘Development Mode’. It basically means you can run code directly in your browser of choice, so no loss of speed, plus you can firebug/inspect it, etc.

    http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM


    Problem: GWT code is java, and has a different mentality to laying out a HTML page, which makes taking a HTML design and turning it into GWT harder

    Solution: Again you get used to this, but unfortunately converting a HTML design to a GWT design is always going to be slower than doing something like converting a HTML design to a JSP page.


    Problem: GWT takes a bit of getting your head around, and is not yet mainstream. Meaning that most developers that join your team or maintain your code will have to learn it from scratch

    Solution: It remains to be seen if GWT will take off, but if you’re a company in control of who you hire, then you can always choose people that either know GWT or want to learn it.


    Problem: GWT is a sledgehammer compared to something like jquery or just plain javascript. It takes a lot more setup to get it happening than just including a JS file.

    Solution: Use libraries like jquery for smaller, simple tasks that are suited to those. Use GWT when you want to build something truly complex in AJAX, or where you need to pass your data back and forth via the RPC mechanism.


    Problem: Sometimes in order to populate your GWT page, you need to make a server call when the page first loads. It can be annoying for the user to sit there and watch a loading symbol while you fetch the data you need.

    Solution: In the case of a JSP page, your page was already rendered by the server before becoming HTML, so you can actually make all your GWT calls then, and pre-load them onto the page, for an instant load. See here for details:

    Speed up Page Loading by pre-serializing your GWT calls


    I’ve never had any problems CSS styling my widgets, out of the box, custom or otherwise, so I don’t know what you mean by that being a pitfall?

    As for performance, I’ve always found that once compiled GWT code is fast, and AJAX calls are nearly always smaller than doing a whole page refresh, but that’s not really unique to GWT, though the native RPC packets that you get if you use a JAVA back end are pretty compact.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 72k
  • Answers 72k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer With entity framework, if you have materialized the object then… May 11, 2026 at 1:42 pm
  • added an answer I think the best way to do that is to… May 11, 2026 at 1:42 pm
  • added an answer I'm not sure what you are trying to achieve because… May 11, 2026 at 1:42 pm

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.