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 8194645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:53:31+00:00 2026-06-07T04:53:31+00:00

I recently watched several Google I/O videos where Google developers present GWT with respect

  • 0

I recently watched several Google I/O videos where Google developers present GWT with respect to performance and security. In that video the speaker makes mention of several GWT-isms:

  • Client-side request “batching”
  • “Disposability”
  • The pursuit of GWT app “statelessness”

With respect to “batching” it seems like GWT can be configured to queue-up server-side RPC calls and send them all at once (instead of many tiny, performance-hindering calls). Unfortunately, I’m just not seeing the forest through the trees here: doe GWT handle batching for you, or do you have to write the logic that performs this bundling/batching? If you have to do it, what kinds of calls can/should be bundled? How do you know when its time to fire the batch off?

In GWT lingo, what does it mean when someone says:

  • “Clients and servers are disposable”; but
  • “Views” are not disposable

How does this concept of “batching” and “disposability” relate to GWT app “statelessness”. By that, the speaker defined statelessness as:

  • Browser embodies the session (?!?!)
  • Server is stateless – except for caching (?!?!)
  • Client never notices a restart (?!?!)

If someone could help give me concrete understanding of these 3 items and how they relate to each other I think I’ll start to “get gwt”. Thanks in advance!

  • 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. Editorial Team
    Editorial Team
    2026-06-07T04:53:33+00:00Added an answer on June 7, 2026 at 4:53 am

    doe GWT handle batching for you, or do you have to write the logic that performs this bundling/batching? If you have to do it, what kinds of calls can/should be bundled? How do you know when its time to fire the batch off?

    GWT-RPC has no batching mechanism. You can (relatively) easily add some by queueing “commands” in a list and then sending the list as a single GWT-RPC call. Some projects should do that for you with minimal effort (GWT-Platform for example).

    RequestFactory on the other hand has batching built-in: you create a RequestContext instance and batch calls to it until you fire() it.

    “Clients and servers are disposable”; but “Views” are not disposable

    The first is related to statelessness (and, for example, with AppEngine, you don’t control when a new server instance is created, shutdown or restarted: the server can disappear at any time, so don’t keep state in memory).
    The second is about performance: everything related to the DOM in the browser is slow, so constructing a new view (widgets stacked together) is heavy-weight (less so with Cell widgets though). As a result, you don’t want to make them disposable, i.e. throw them away every now and then. You’ll rather want to keep one view instance around that you reuse for the lifetime of the app.
    Not exactly the same notion of “disposability”.

    Browser embodies the session (?!?!)

    GWT is built of single-page apps. You can store state on the client simply in variables in your app; you don’t need cookies or whatever to have the state shared between pages.

    Server is stateless – except for caching (?!?!)

    Storing session state on the server has a cost (state must be persisted –particularly if the server is disposable–, shared between servers –when you have a cluster / run in the cloud–, etc. you’ll spend as many resources keeping existence of your session state as doing actual business logic).

    Client never notices a restart (?!?!)

    HTTP is a a disconnected protocol. If the server is restarted, the client won’t know about it, and it shouldn’t have to know about it.

    If someone could help give me concrete understanding of these 3 items and how they relate to each other I think I’ll start to “get gwt”.

    It’s not about getting GWT, it’s about getting the Web and getting single-page webapps, and how to scale them.
    Whether they’re made with GWT or jQuery on the client-side, and Java or Python or .NET on the server-side doesn’t matter.

    Read about REST, it sums it all.

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

Sidebar

Related Questions

I have recently watched this video of a Finnish internet security expert. Somewhere around
I watched this webcast recently, and I got the sense that a lot of
I have recently watched a video of Nicholas Zakas talk about high performace scripts.
I recently watched the 'Network Apps for the iPhone OS' videos for WWDC 2010
I recently watched a good video with regards to a modular JavaScript architecture including
Recently i watched a video about CRUD operations in mysql and one of the
Recently, I've watched some videos about C# async bugs and got into discussions with
I recently watched GoingNative2012 about, of course, C++11. In Bjarne Stroustrup section, I found
Recently, I was writing a class in which I discovered that I could reduce
I'm trying to unit test a custom action result. I recently watched Jimmy Bogard's

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.