Patent ID: 8135772
Filing Date: 2012-03-13
Classification: G06F,G06Q,H04L

Abstract:
1. A system for routing requests from clients to a plurality of different business protocols, the system comprising: a server, executing on a computer, that is operable to receive requests from clients, process the requests using servlets executing on the server, and return responses to the clients, wherein the server is further operable to route the requests to the appropriate servlets based on a destination uniform resource locator (URL) of each request, and wherein the server includes a forwarding application program interface (API); a business servlet executing on the server that is operable to receive the requests from the server, process the requests and route the requests using an internal API to one of other servlets executing on the server, and appropriate business protocol destinations; a plurality of servlets executing on the server that are each operable to receive the requests from the server, process the requests, and generate responses to be sent to the clients, wherein the plurality of servlets includes a default servlet executing on the server operable to process the requests and generate error responses to the clients; wherein when a request is received at the server from a client, the server forwards the request to an appropriate servlet executing on the server using the forwarding API based on the destination URL associated with the request to process the request, wherein if no appropriate servlet is identified then the request is forwarded to the default servlet, and wherein if the appropriate servlet is the business servlet then if the business servlet recognizes the destination URL in the request, the business servlet routes the request using the internal API to one of the plurality of servlets or the appropriate business protocol destination executing on the server that can process a business protocol specified in the request to process the request, if the business servlet does not recognize the destination URL in the request, the business servlet forwards the request to one of the plurality of servlets executing on the server by looking up an appropriate servlet through the forwarding API, and if the business servlet neither recognizes the destination URL in the request nor is able to find an appropriate servlet to which to forward the request, the business servlet routes the request to the default servlet and the default servlet generates an error response to the client, wherein the error response is sent from the server to the client.