Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chaining/Filtering

 
Kev D'Arcy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been thinking about this for the last few days and can't decided what to do! ANy input would be appreciated! I want to have a single servlet that sits in front of all other servlets in my application (kind of a web service type app). This servlet should inspect incoming request and decide to process it if it's from a valid source, or kick it out if not. If it's valid, then it should inspect some XML (will probably have to parse it) and depending on it's content, log it and forward it to another "worker" servlet. But my problem is that while I want my servlet to do all this work, I want it to be lightweight. Filtering isn't an option as my app server doesn't support it (wakey wakey IBM!). Any thoughts???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic