System and method for pluggable url pattern matching for servlets and application servers
AssigneeBEA Systems, Inc.
InventorsVinod Mehra, Mark Spotswood
Life of this patent
Estimating the term…
Abstract
The invention provides a system and method for providing pluggable pattern matching for servlets. This feature allows application servers that incorporate the invention to support non-J2EE pattern matching schemes in their http request resolution. The pluggable pattern matching feature is targeted primarily at customers who want to implement custom URL matching patterns. Since this feature is not J2EE compliant, some other form of configuration is necessary. In one embodiment an XML file (weblogic.xml) is used to configure the new pattern matching utilities. By modifying the settings in the weblogic.xml file, users are able to plug their own custom pattern matching utility classes into the weblogic server.
Claims15
A system for pluggable URL pattern matching, comprising:
- an application server;
- a servlet container that executes as part of the application server to receive http requests for processing by the application server;
- a plurality of pattern matching interfaces that can be used with the servlet container to match the http requests to a desired pattern, and then communicate the http requests as matched to the application server;
- a configuration file that indicates a particular pattern matching interface to be selected from the plurality of pattern matching interfaces for use by the servlet container;
- and
- wherein the configuration file is parsed by the application server at run-time to determine the particular pattern matching interface to be used, and wherein the particular pattern matching interface is then plugged into the servlet container, for use in matching the http requests to the desired pattern.
A method of providing pluggable URL pattern matching, comprising the steps of:
- initializing an application server;
- retrieving and parsing a configuration file at runtime to determine a particular pattern matching interface to be selected from a plurality of pattern matching interfaces, and to be used to match incoming http requests to a desired pattern;
- and
- initializing a servlet container to plug in and use the particular pattern matching interface as indicated by the configuration file, wherein the servlet container then executes as part of the application server to receive http requests at the particular pattern matching interface for processing by the application server.
A computer-readable medium, including instruction stored thereon which when executed cause the computer to perform the steps of:
- initializing an application server;
- retrieving and parsing a configuration file at runtime to determine a particular pattern matching interface to be selected from a plurality of pattern matching interfaces, and to be used to match incoming http requests to a desired pattern;
- and
- initializing a servlet container to plug in and use the particular pattern matching interface as indicated by the configuration file, wherein the servlet container then executes as part of the application server to receive http requests at the particular pattern matching interface for processing by the application server.
Dependencies are inferred from the claim text.