[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Servlet Redirect filter based on declarative decision graph?

rainersimon do-not-reply at jboss.com
Fri Jan 4 08:38:50 EST 2008


Hi,

-- Sorry for cross posting this from the jBPM group but it seems to be equally suitable for this group as well - I'm ready to get flamed ;-) --

I'm trying to achieve the following goal, and I don't know how to do it in a clever way yet - i.e. without creating a proprietary solution to a problem that someone else has probably solved (better) already:

I'm planning to build a servlet filter that redirects visitors of the same URL to different documents. The redirect-decision should be made based on a decision graph - similar to a workflow graph - and a bunch of parameters stored in the HttpSession context. 

I could just hard-code the decision graph into the servlet filter. But I want to be able to change the graph (i.e. the decision logic) without changing the code of the Filter...

I know this should be possible with jBPM. But since there is no interaction with with databases, Web services, or human actors in the decision logic, it seems that I'm following an overly complicated route to achieve a relatively simple goal.

Is there an easier way to do this? Any comments are welcome. At the moment I don't even know what words to Google for ;-)

Thanks,
Ray

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117045#4117045

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117045



More information about the jboss-user mailing list