I am writing a GWT+Google DataStore app which will use JSON as data
exchange format. There are multiple calls/operations which client will invoke to server. My query is, if I have to write to
Servlets which return JSON data, so
1) A single servlet serves all requests. Server will recognize which function to be called based on some flag passed as part of request
2) For each and every such operation I write a seperate servlet
Any other/better options?