Using Servlets in App Engine
So far in Connectr, we've used
RemoteServiceServlet to support client requests.
We can also build regular Servlets, and use them to directly support server-side admin or backend tasks, invoked asynchronously from any GWT RPC requests. For example, in this chapter we will build a Servlet to support the Datastore entity migration. We will also build Servlets that trigger an asynchronous background update of all the current RSS/Atom feeds associated with our application's
Friend objects so that client requests require less work to be done.
These Servlets do not need to support GWT RPC. App Engine uses the Java Servlet API and our non-RPC Servlets will simply extend
javax.servlet.http.HttpServlet; thus the Servlet API may ...