Hello all,

I have a situation where I wish to break up my web application, but wish to
maintain the same domain as the front end URL.

All customers log in via a single domain using their email address as a
username.

The email address gives them access to their customer repository data
(lucene, etc), which is only accessible by that customer account.

I would like to split the web app up, so that the front end server has
smarts to know which backend tomcat server to redirect to.

As far as I know, Apache AJP can be configured to redirect to different
tomcat backend servers by implementing rules, ideally URL based.  But for
me, the URL is always the same.

So, I was wondering if there was a way to code an AJP client inside a front
end tomcat server, so that I could redirect to whatever backend server the
business rules decided.

1. Login Screen on front end server
2. User attempts to log in, verify against DB, and then work out which back
end tomcat server to AJP to.
3. All traffic goes via front server one to the decided backend server 2.

any other ideas are also welcome....

Thanks
Andrew

Reply via email to