-
servlet object creation (1 messages)
- Posted by: Krishna prasad
- Posted on: September 04 2006 12:12 EDT
hai, the process inside a container is one servlet-multiple threads(requests), that is no matter how many requests are made,only one servlet object is created. does this applies to all classes, such as servlets generated from a jsp, models(POJC,EJB), that we use in our web application. have a nice day krishna prasadThreaded Messages (1)
- Re: servlet object creation by Nicke G on September 05 2006 12:32 EDT
-
Re: servlet object creation[ Go to top ]
- Posted by: Nicke G
- Posted on: September 05 2006 12:32 EDT
- in response to Krishna prasad
Since JSPs are compiled into servlets, this applies to JSPs too. However, apart from servlets you can make no general assumptions is the class is a "singleton" or not, it depends entirely on configuration (in the EJB case) or implementation / framework. You simply have to do your research in all cases. /Niklas