You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jakob Hemicke Greve <jh...@epista.com> on 2008/05/26 08:53:27 UTC
Many web applications
Hi All,
We are having a architectural discussion and I can't seem to find any
similar cases so I'll just jump into my question:
What are the consequences for a tomcat system if you would want to
deploy 100's 1000's or maybe even 10,000's of different web applications
(Or even more - like a million)?
Is it at all possible?
Thank you in advance!
Regards
Jakob Greve
Re: web.xml documentation
Posted by David Smith <dn...@cornell.edu>.
To be more specific, servlet spec 2.4 is available at:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
Servlet spec 2.5 which governs tomcat 6 is available at:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html
--David
Steve Ochani wrote:
> On 27 May 2008 at 17:24, Marcos Molina wrote:
>
>
>
>> Hi people,
>>
>> Can anyone tell me where can i read something of how web.xml file
>> works ?
>> I try search but not found nothing good.
>> Thanks a lot.
>>
>
> It's detailed in the Java Servlet Specification available at www.jcp.org
>
> but the basics are in almost any good java servlet tutorial/book.
>
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: web.xml documentation
Posted by "Kirchhoff, Florian" <Fl...@qwest.com>.
For Tomcat 5.5, that implements the Servlet 2.4 specifications which you
can download at:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
you're looking for the "deployment descriptor" sections that describe
web.xml. But it's a bit dry
(unless you enjoy reading XML schemas).
For Tomcat 6.0 that implements the Servlet 2.5 specs:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html
But as Steve says, for the basics you can find something more
accessible, this query will return a couple of useful references:
http://www.google.com/search?hl=en&q=Servlet+Web.xml+tutorial
Good luck
Florian
-----Original Message-----
From: Steve Ochani [mailto:ochanis@ncc.edu]
Sent: Tuesday, May 27, 2008 4:45 PM
To: Tomcat Users List
Subject: Re: web.xml documentation
On 27 May 2008 at 17:24, Marcos Molina wrote:
> Hi people,
>
> Can anyone tell me where can i read something of how web.xml file
> works ?
> I try search but not found nothing good.
> Thanks a lot.
It's detailed in the Java Servlet Specification available at www.jcp.org
but the basics are in almost any good java servlet tutorial/book.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: web.xml documentation
Posted by Steve Ochani <oc...@ncc.edu>.
On 27 May 2008 at 17:24, Marcos Molina wrote:
> Hi people,
>
> Can anyone tell me where can i read something of how web.xml file
> works ?
> I try search but not found nothing good.
> Thanks a lot.
It's detailed in the Java Servlet Specification available at www.jcp.org
but the basics are in almost any good java servlet tutorial/book.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
web.xml documentation
Posted by Marcos Molina <mm...@adinet.com.uy>.
Hi people,
Can anyone tell me where can i read something of how web.xml file works ?
I try search but not found nothing good.
Thanks a lot.
Marcos
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Many web applications
Posted by Martin <mg...@hotmail.com>.
Is there a reason why you would want 10,000 separate and distinct webapps
Can you envision a component-based architecture which would utilise n number
of struts-taglibs for view
n number of interceptors for controller layer and
n number of DB procedures?
in this way webapp2 can use the same
taglibs
interceptors
DBProcedures
as webapp1?
http://struts.apache.org/
Martin
----- Original Message -----
From: "Jakob Hemicke Greve" <jh...@epista.com>
To: <us...@tomcat.apache.org>
Sent: Monday, May 26, 2008 2:53 AM
Subject: Many web applications
Hi All,
We are having a architectural discussion and I can't seem to find any
similar cases so I'll just jump into my question:
What are the consequences for a tomcat system if you would want to
deploy 100's 1000's or maybe even 10,000's of different web applications
(Or even more - like a million)?
Is it at all possible?
Thank you in advance!
Regards
Jakob Greve
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Many web applications
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Now you sound like a good customer... ha ha
Short answer, you hire the guru's here an go to some tropical island for a
great holiday ;)
----- Original Message -----
From: "Jakob Hemicke Greve" <jh...@epista.com>
To: <us...@tomcat.apache.org>
Sent: Monday, May 26, 2008 8:53 AM
Subject: Many web applications
> Hi All,
> We are having a architectural discussion and I can't seem to find any
> similar cases so I'll just jump into my question:
> What are the consequences for a tomcat system if you would want to
> deploy 100's 1000's or maybe even 10,000's of different web applications
> (Or even more - like a million)?
There is detailed capacity calcs, but the problem is that you cant look at
tomcat by itself, it depends very much on the applications. Running the
Human Gene project on TC will be very different to just displaying a web
page.
And who is making the applications? If its external, they wont be thinking
about capacity, if its internal then you have much bigger choices... for
example, instead of returning actual images from TC, you return references,
and now you can use static sites all over the world to actually help deliver
those images, even though the logic is done by one TC.
Are the apps critical, if so you will cluster duplicate TC's behind say an
Apache server so that if one machine crashes, life continues.
The general answer is that you going to use more than one TC and multiple
domains, and when the incoming pipe gets too small, you going to get more
pipe capacity, and maybe that cant all be done at one location.
On some machines you may have 10000 web apps, on others 10...
Watch the video's and the images... if those can be made into references,
you in business.
Then there a maintenance issues, perhaps purchasing a top class router, load
balancer box is better than setting up a linux box, just so one can switch
and monitor loads easily, and I think if you did talk to various vendors in
that area, the architecture would show itself to you ;)
TC is a powerful servlet container, I'd say the best, but not the entire
solution.
The guys are going to ask you what you doing... they need to know that to
suggest a scheme.
But if you new to all this... I'd suggest hiring some of them.
Good Luck
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Many web applications
Posted by Mark Thomas <ma...@apache.org>.
Jakob Hemicke Greve wrote:
> What are the consequences for a tomcat system if you would want to
> deploy 100's 1000's or maybe even 10,000's of different web applications
> (Or even more - like a million)?
Do-able (at the millions scale) but an out of the box install is going to
need some serious tuning. What you tune and how depends on the load you
expect. How many requests/s are you expecting, how 'complex' are the
requests (static resources, database intensive, etc), what is the
distribution of requests across webapps, how big are the webapps (ie how
much memory will each need), will any of them be using sessions - if so how
much memory do you need for the session etc.
I wouldn't put all of the apps in a single Tomcat instance. You'll
certainly need multiple Tomcats, fronted by, eg, httpd.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org