philippe rouxel wrote:
Hi,
I use Tomcat in a RestFull application with cxf and spring. It works fine.
Actually, this application is deploy in a single web app.
My client ask if I can slip all the services (nearly 100) : he want a
webapp for each service.
So how many webapps can Tomcat support ?
Supposing you mean "split", not "slip"..
I do not think that there is any specific limit to the number of webapps, excepting total
memory etc.
One thing to watch however is that this may change the behaviour of your code : one webapp
is totally independent of another, so you cannot necessarily access the same things from
pieces of your code, if you split it up in separate webapps.
You may also end up with a lot of duplication : for example if you have right now one part
which parses parameters, you will have to do that in each webapp separately.
You will also have one WEB-INF/web.xml per webapp, etc..
Maybe the end result will make your application more modular and flexible, but it seems
like a lot of tedious work.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org