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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:07:31+00:00 2026-06-13T17:07:31+00:00

I’m trying to figure out how to deploy a GWT app to Google App

  • 0

I’m trying to figure out how to deploy a GWT app to Google App Engine. From this page on using JSPs, it looks like GAE is expecting a normal, HttpServlet-based web app, with the typical handlers:

public class MyServlet extends HttpServlet {
    public void doPost(HttpServletRequest req, HttpServletResponse resp) {
        // Handle the HTTP request here and return a response
    }
}

After reading the GWT documentation and watching several Google I/O videos, I am confident that I want to use GWT’s RequestFactory option instead of the traditional GWT-RPC method for client-server communication.

In researching examples of how to use RequestFactory, I found this simple example which proposes the following class architecture:

Client-Side:
    PizzaProxy - client-side proxy for Pizza.class
    PizzaRequestFactory - RF impl
    PizzaRequestContext - RF context impl

Server-Side:
    Pizza - the entity
    PizzaDao - DAO for entity
    DaoLocator - ServiceLocator for all DAOs
    PizzaLocator - Locator for entity

For one, I’d say I was a little surprised to see the code this normalized, but don’t mind this kind of an architecture for each entity if it pays off in performance or just provides the usualy benefit of good old fashioned clean code.

Most importantly, I’m not seeing the connection between what GAE wants and what this RequestFactory seems to provide (on the server-side). In other words, I see an example of RequestFactory server-side code sans any kind of HttpServlet whatsoever.

So I ask: how can I “wire” these two (RequestFactory and HttpServlet) concepts up so that the GWT client app can send HTTP/S to the GAE backend, which is servlet-driven? Is there a way to keep the architecture proposed in the “Pizza App” above, or is there a different architecture/approach needed when deploying to GAE?

In fact, come to think of it, this problem would apply not only to GAE, but any standard Java web container: Tomcat, JBoss, Jetty…

UPDATE: I just found the code samples for GWT’s Request Framework and it seems like this might be what I’m looking for. However, this doesn’t appear to have anything to do with RequestFactory, so I’m a little confused/concerned that if I go with the classes in that link that I’ll lose the benefits that come with RequestFactory.

  • 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-13T17:07:33+00:00Added an answer on June 13, 2026 at 5:07 pm

    You have to map the RequestFactoryServlet, by default to /gwtRequest (that’s the default in DefaultRequestTransport on the client-side). Everything else is done by reflection.

    See http://blog.ltgt.net/gwt-211-requestfactory/ (this was about GWT 2.1.1; RF has changed quite a bit in GWT 2.4 but the general idea is still the same)

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

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm making a simple page using Google Maps API 3. My first. One marker
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Basically, what I'm trying to create is a page of div tags, each has
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I know there's a lot of other questions out there that deal with this

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.