Hi all,

Not sure where to direct this question.. I thought I try here...

In a webapp you have a servlet where by means of servlet mapping we can direct 
all traffic, example

  <servlet-mapping>
    <servlet-name>InitServlet</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>

If I understand spec correctly and this being the only mapping, it will become 
the default and all requests will be routed to the servlet.

I also have a bunch of web services which when called do not route to the 
servlet. My question; is there something like the idea of serlvet for web 
services that will route all requests into a common location and from there let 
the application farm it out to the correct web service.  The reason I ask is I 
like to isolate some security and business logic in to one location and have 
that entered first by the web service call and then pass along to correct 
service.

I could extend a base object for each web service but that would prevent adding 
external web services from source to the system without making modifications to 
those sources.

Sincerely,

Robert Jenkin
Surecomp Services, Inc.
2 Hudson Place, 4th Floor
Hoboken, NJ 07030
Skype: robert.jenkin
Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537
http://www.Surecomp.com


This mail was sent via Mail-SeCure System.


Reply via email to