This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See Kev D'Arcy
posted 15 years ago
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???