This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
Hi, I had posted this earlier but did not get any reply so am posting it again. Somebody please help!!! I was reading the second chapter of "HF-Serlets and JSP" and came across the terms "container" and "server". Till now my understanding was that a server itself controls the life cycle of a servlet. But here it is mentioned that the life cycle is controlled by a container. Can somebody please clear the following doubts related to container and server:-
1. Do they run in the same JVM or different JVM 2. Can somebody please tell me what is a "container" and what is a "server" in the context of IBM's Websphere.
Thanks and Regards, Mitesh.
john guthrie
Ranch Hand
Joined: Aug 05, 2002
Posts: 124
posted
0
my understanding is that the container is more of a concept. servlets run in a servlet container, and no real documentation should be mentioning a server. a server is, in a way, an implementation of a container, although a server could do much more.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.