Are you trying to expose a Web Service from your Appspot? For this you will need to extend HttpServlet, and configure it in your web.xml with a mapping for your web service. http://code.google.com/appengine/docs/java/runtime.html#Requests_and_Servlets
For an example of a REST web service with JSON output, go here: http://goo.gl/0zU0e It uses Spring MVC to manage URL mappings. In this example, the controller receives an AJAX request from a web page to https://example.appspot.com/users/whoami and returns JSON containing information about the logged in user... I use this controller to load user information on the web page, and provide a sign out button. Here's a javascript component that makes the REST call and processes the JSON: http://goo.gl/Z18ev -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/6GazSiYJ-8wJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.