# US 2003/0204559 A1 · Method, system, and article of manufacture for a server side application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0204559 A1
- Document ID: US20030204559A1
- Status: Published application
- Kind: A1
- Application number: 10/133,014
- Filed: 2002-04-26
- Published: 2003-10-30
- Earliest claimed: 2002-04-26
- Assignees: Sun Microsystems, Inc.
- Inventors: Shawn X. Nguyen
- Web page: https://patentgrep.com/patent/US20030204559A1

## CPC

- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a method, system, and article of manufacture for processing requests in a server side application. The server side application receives a request in a communications protocol from a client. The server side application modifies the request to create a communications protocol independent request. The server side application generates a response by processing the communications protocol independent request. Subsequently, the server side application sends the generated response in the communications protocol to the client.

## Claims

### Claim 1

A method for processing requests in a server side application, the method comprising:
receiving a request in a communications protocol from a client;
modifying the request to create a communications protocol independent request;
generating a response by processing the communications protocol independent request; and
sending the generated response in the communications protocol to the client.

### Claim 2 (depends on 1)

The method of claim 1, wherein the server side application comprises a plurality of components, including a servlet component, a router component, and a handler component, the method further comprising:
(i) receiving the request from the client at the servlet component, wherein the servlet component modifies the request to create the communications protocol independent request, and forwards the request to the router component, wherein the communications protocol independent request is created by removing commmands specific to the communications protocol;
(ii) selecting the handler component at the router component and routing the forwarded request from the router component to the selected handler component; and
(iii) processing with the selected handler component the routed request and generating information, wherein the information is to be included in the response.

### Claim 3 (depends on 2)

The method of claim 2, wherein the generated information is based on data retrieved from a database by the selected handler component, the method further comprising:
receiving at the router component the generated information from the selected handler component;
sending from the router component the generated information to the servlet component; and
sending from the servlet component the generated response including the generated information to the client.

### Claim 4 (depends on 2)

The method of claim 2, wherein the router component and the selected handler component are modifiable by changing source code comprising the router component and the selected handler component and installing at least one executable file derived from the changed source code.

### Claim 5 (depends on 1)

The method of claim 1, wherein the server side application modifies the request into a table having key and value pairs corresponding to query parameters in the request, and wherein the table is communications protocol independent.

### Claim 6 (depends on 1)

The method of claim 1, wherein the communications protocol independent request does not include coding related to the communications protocol used to communicate the request from the client to the server side application.

### Claim 7 (depends on 1)

The method of claim 1, wherein the server side application includes a servlet, wherein the request is an HTTP request, and wherein the method further comprises:
subsequent to receiving the request and prior to generating the response,
(i) transforming at the servlet the HTTP request into a table, wherein the table has key and value pairs corresponding to query parameters in the HTTP request;
(ii) if a session already exists between the servlet and the client, using the session;
(iii) if the session does not exist between the servlet and the client, creating a new session;
(iv) retrieving a database connection from a connection pool, wherein the database connection is returned to the connection pool after the database connection has been used;
(v) assigning the database connection to the request, wherein after the assignment the request is independent of HTTP communication protocols.

### Claim 8 (depends on 1)

The method of claim 1, wherein components of the server side application are modified to create a new server side application, wherein the modified components are independent of the communications protocol

### Claim 9 (depends on 8)

The method of claim 8, wherein the new server side application performs:
receiving one request in the communications protocol from one client;
modifying the one request to create one communications protocol independent request;
generating one response by processing the one communications protocol independent request; and
sending the generated response in the communications protocol to the one client.

### Claim 10

A method for creating a server side application, the method comprising:
installing server side application components on a computational device, wherein the server side application components are coded to perform default request handling operations, wherein the default request handling operations include a communication protocol to manage communications with remote clients submitting requests to the server side application;
receiving code modifications to at least one server side application component to cause the at least one server side component to perform user specified server side application operations that are independent of the communications protocol; and
generating executable code from the installed server side application components including the code modifications.

### Claim 11 (depends on 10)

The method of claim 10, wherein the code modifications to the server side application components include:
modifications to a handler component to make a call to an application program; and
modifications to a router component to route requests to the created handler component.

### Claim 12 (depends on 11)

The method of claim 11, wherein the application program comprises a database program, and wherein the call comprises a database query.

### Claim 13 (depends on 11)

The method of claim 11, wherein the modifications to the handler component are made by modifying source code of an existing handler component within the server side application components.

### Claim 14 (depends on 11)

The method of claim 11, wherein the modifications to the handler component are made by coding and adding a new handler component to the server side application components.

### Claim 15 (depends on 10)

The method of claim 10, wherein the server side application, performs:
receiving a request at a servlet in the communications protocol from a client as part of the default request handling operations;
modifying the request at the servlet to create a communications protocol independent request as part of the default request handling operations;
sending the communications protocol independent request to a router as part of the default request handling operations;
routing the communications protocol independent request from the router to a selected handler as part of the user specified server side application operations;
generating a response at the selected handler as part of the user specified server side application operations; and
sending the generated response to the client from the servlet as part of the default request handling operations.

### Claim 16 (depends on 15)

The method of claim 15, wherein the modifying the request to create the communications protocol independent request is a part of the user specified server side application operations, wherein the user specified server side application operations include implementing a mapping of the request into key value pairs corresponding to query parameters in the request.

### Claim 17 (depends on 10)

The method of claim 10, wherein the communication protocol is HTTP, and the default request handling operations further include a mapping that maps a HTTP request into a form independent of HTTP syntax.

### Claim 18 (depends on 17)

The method of claim 17, wherein the mapping is to name value pairs corresponding to query parameters in the HTTP request, wherein the name value pairs are processed by the user specified server side application operations.

### Claim 19

A system for processing requests, the system comprising:
a server side application;
means for receiving a request in a communications protocol from a client at the server side application;
means for modifying the request to create a communications protocol independent request at the server side application;
means for generating a response by processing the communications protocol independent request at the server side application; and
means for sending the generated response in the communications protocol to the client from the server side application.

### Claim 20 (depends on 19)

The system of claim 19, wherein the server side application comprises a plurality of components, including a servlet component, a router component, and a handler component, the system further comprising:
(i) means for receiving the request from the client at the servlet component, wherein the servlet component modifies the request to create the communications protocol independent request, and forwards the request to the router component, wherein the communications protocol independent request is created by removing commmands specific to the communications protocol;
(ii) means for selecting the handler component at the router component and routing the forwarded request from the router component to the selected handler component; and
(iii) means for processing with the selected handler component the routed request and generating information, wherein the information is to be included in the response.

### Claim 21 (depends on 20)

The system of claim 20, wherein the generated information is based on data retrieved from a database by the selected handler component, the system further comprising:
means for receiving at the router component the generated information from the selected handler component;
means for sending from the router component the generated information to the servlet component; and
means for sending from the servlet component the generated response including the generated information to the client.

### Claim 22 (depends on 20)

The system of claim 20, wherein the router component and the selected handler component are modifiable by changing source code comprising the router component and the selected handler component and installing at least one executable file derived from the changed source code.

### Claim 23 (depends on 19)

The system of claim 19, wherein the server side application modifies the request into a table having key and value pairs corresponding to query parameters in the request, and wherein the table is communications protocol independent.

### Claim 24 (depends on 19)

The system of claim 19, wherein the communications protocol independent request does not include coding related to the communications protocol used to communicate the request from the client to the server side application.

### Claim 25 (depends on 19)

The system of claim 19, wherein the server side application includes a servlet, wherein the request is an HTTP request, and wherein the system performs:
subsequent to receiving the request and prior to generating the response,
(i) transforming at the servlet the HTTP request into a table, wherein the table has key and value pairs corresponding to query parameters in the HTTP request;
(ii) if a session already exists between the servlet and the client, using the session;
(iii) if the session does not exist between the servlet and the client, creating a new session;
(iv) retrieving a database connection from a connection pool, wherein the database connection is returned to the connection pool after the database connection has been used;
(v) assigning the database connection to the request, wherein after the assignment the request is independent of HTTP communication protocols.

### Claim 26 (depends on 19)

The system of claim 19, wherein components of the server side application are modified to create a new server side application, wherein the modified components are independent of the communications protocol

### Claim 27 (depends on 26)

The system of claim 26, wherein the new server side application performs:
receiving one request in the communications protocol from one client;
modifying the one request to create one communications protocol independent request;
generating one response by processing the one communications protocol independent request; and
sending the generated response in the communications protocol to the one client.

### Claim 28

A system for creating a server side application, the system comprising:
means for installing server side application components on a computational device, wherein the server side application components are coded to perform default request handling operations, wherein the default request handling operations include a communication protocol to manage communications with remote clients submitting requests to the server side application;
means for receiving code modifications to at least one server side application component to cause the at least one server side component to perform user specified server side application operations that are independent of the communications protocol; and
means for generating executable code from the installed server side application components including the code modifications.

### Claim 29 (depends on 28)

The system of claim 28, wherein the code modifications to the server side application components include:
modifications to a handler component to make a call to an application program; and
modifications to a router component to route requests to the created handler component.

### Claim 30 (depends on 29)

The system of claim 29, wherein the application program comprises a database program, and wherein the call comprises a database query.

### Claim 31 (depends on 29)

The system of claim 29, wherein the modifications to the handler component are made by modifying source code of an existing handler component within the server side application components.

### Claim 32 (depends on 29)

The system of claim 29, wherein the modifications to the handler component are made by coding and adding a new handler component to the server side application components.

### Claim 33 (depends on 28)

The system of claim 28, wherein the server side application, performs:
receiving a request at a servlet in the communications protocol from a client as part of the default request handling operations;
modifying the request at the servlet to create a communications protocol independent request as part of the default request handling operations;
sending the communications protocol independent request to a router as part of the default request handling operations;
routing the communications protocol independent request from the router to a selected handler as part of the user specified server side application operations;
generating a response at the selected handler as part of the user specified server side application operations; and
sending the generated response to the client from the servlet as part of the default request handling operations.

### Claim 34 (depends on 33)

The system of claim 33, wherein the modifying the request to create the communications protocol independent request is a part of the user specified server side application operations, wherein the user specified server side application operations include implementing a mapping of the request into key value pairs corresponding to query parameters in the request.

### Claim 35 (depends on 28)

The system of claim 28, wherein the communication protocol is HTTP, and the default request handling operations further include a mapping that maps a HTTP request into a form independent of HTTP syntax.

### Claim 36 (depends on 35)

The system of claim 35, wherein the mapping is to name value pairs corresponding to query parameters in the HTTP request, wherein the name value pairs are processed by the user specified server side application operations.

### Claim 37

A article of manufacture, wherein the article of manufacture is capable of causing operations, the operations comprising:
receiving a request in a communications protocol from a client;
modifying the request to create a communications protocol independent request;
generating a response by processing the communications protocol independent request; and
sending the generated response in the communications protocol to the client.

### Claim 38 (depends on 37)

The article of manufacture of claim 37, wherein the server side application comprises a plurality of components, including a servlet component, a router component, and a handler component, the operations further comprising:
(i) receiving the request from the client at the servlet component, wherein the servlet component modifies the request to create the communications protocol independent request, and forwards the request to the router component, wherein the communications protocol independent request is created by removing commmands specific to the communications protocol;
(ii) selecting the handler component at the router component and routing the forwarded request from the router component to the selected handler component; and
(iii) processing with the selected handler component the routed request and generating information, wherein the information is to be included in the response.

### Claim 39 (depends on 38)

The article of manufacture of claim 38, wherein the generated information is based on data retrieved from a database by the selected handler component, the operations further comprising:
receiving at the router component the generated information from the selected handler component;
sending from the router component the generated information to the servlet component; and
sending from the servlet component the generated response including the generated information to the client.

### Claim 40 (depends on 38)

The article of manufacture of claim 38, wherein the router component and the selected handler component are modifiable by changing source code comprising the router component and the selected handler component and installing at least one executable file derived from the changed source code.

### Claim 41 (depends on 37)

The article of manufacture of claim 37, wherein the server side application modifies the request into a table having key and value pairs corresponding to query parameters in the request, and wherein the table is communications protocol independent.

### Claim 42 (depends on 37)

The article of manufacture of claim 37, wherein the communications protocol independent request does not include coding related to the communications protocol used to communicate the request from the client to the server side application.

### Claim 43 (depends on 37)

The article of manufacture of claim 37, wherein the server side application includes a servlet, wherein the request is an HTTP request, and wherein the operations further comprises:
subsequent to receiving the request and prior to generating the response,
(i) transforming at the servlet the HTTP request into a table, wherein the table has key and value pairs corresponding to query parameters in the HTTP request;
(ii) if a session already exists between the servlet and the client, using the session;
(iii) if the session does not exist between the servlet and the client, creating a new session;
(iv) retrieving a database connection from a connection pool, wherein the database connection is returned to the connection pool after the database connection has been used;
(v) assigning the database connection to the request, wherein after the assignment the request is independent of HTTP communication protocols.

### Claim 44 (depends on 37)

The article of manufacture of claim 37, wherein components of the server side application are modified to create a new server side application, wherein the modified components are independent of the communications protocol

### Claim 45 (depends on 44)

The article of manufacture of claim 44, wherein the new server side application performs:
receiving one request in the communications protocol from one client;
modifying the one request to create one communications protocol independent request;
generating one response by processing the one communications protocol independent request; and
sending the generated response in the communications protocol to the one client.

### Claim 46

An article of manufacture, wherein the article of manufacture is capable of causing operations, the operations comprising:
installing server side application components on a computational device, wherein the server side application components are coded to perform default request handling operations, wherein the default request handling operations include a communication protocol to manage communications with remote clients submitting requests to the server side application;
receiving code modifications to at least one server side application component to cause the at least one server side component to perform user specified server side application operations that are independent of the communications protocol; and
generating executable code from the installed server side application components including the code modifications.

### Claim 47 (depends on 46)

The article of manufacture of claim 46, wherein the code modifications to the server side application components include:
modifications to a handler component to make a call to an application program; and
modifications to a router component to route requests to the created handler component.

### Claim 48 (depends on 47)

The article of manufacture of claim 47, wherein the application program comprises a database program, and wherein the call comprises a database query.

### Claim 49 (depends on 47)

The article of manufacture of claim 47, wherein the modifications to the handler component are made by modifying source code of an existing handler component within the server side application components.

### Claim 50 (depends on 47)

The article of manufacture of claim 47, wherein the modifications to the handler component are made by coding and adding a new handler component to the server side application components.

### Claim 51 (depends on 46)

The article of manufacture of claim 46, wherein the server side application, performs:
receiving a request at a servlet in the communications protocol from a client as part of the default request handling operations;
modifying the request at the servlet to create a communications protocol independent request as part of the default request handling operations;
sending the communications protocol independent request to a router as part of the default request handling operations;
routing the communications protocol independent request from the router to a selected handler as part of the user specified server side application operations;
generating a response at the selected handler as part of the user specified server side application operations; and
sending the generated response to the client from the servlet as part of the default request handling operations.

### Claim 52 (depends on 51)

The article of manufacture of claim 51, wherein the modifying the request to create the communications protocol independent request is a part of the user specified server side application operations, wherein the user specified server side application operations include implementing a mapping of the request into key value pairs corresponding to query parameters in the request.

### Claim 53 (depends on 46)

The article of manufacture of claim 46, wherein the communication protocol is HTTP, and the default request handling operations further include a mapping that maps a HTTP request into a form independent of HTTP syntax.

### Claim 54 (depends on 53)

The article of manufacture of claim 53, wherein the mapping is to name value pairs corresponding to query parameters in the HTTP request, wherein the name value pairs are processed by the user specified server side application operations.
