I plan to write a server which will be accessed through both an AJAX Web interface and a client program I will write. The two interfaces will provide similar functions. For example, users can sign up using either Web or client interface (think Skype). The client shall use RPC over HTTP to communicate with the server.
Is there any server framework that enables a single server to to serve both HTML/AJAX and RPC requests with minimal efforts? Google's GWT seems a good candidate but I have no experience with it...