Multiple servlets vs parameterized service
I'd appreciate any advice/reccomendations anyone has on this topic
What are the trade offs in the following scenario where I have a set of related use cases I want my web app to handle. Is it best to have a servlet per use case (eg in a web store, I might have "buy item", "list products", "view cart") or is it best to have a single servlet and have that distinguish the particular use case from the URL/input parameters.
What are the overheads of multiple servlet objects in this scenario esp where as in the exampe above a "buy item" would affect the results of "view cart"
I realise I can use struts or similar to achieve the described effect, I'm more interested in the technical factors behind the choice above
thanks

