Archive for the ‘Servlets/JSP’ Category

Netbeans 5.5 slow startup

जानेवारी 15, 2009

Actually we are developing project in jsp, but i don’t know why Netbeans 5.5 takes lots n lots n lots of time for opening,
Previously my PC’s RAM was 512MB, I upgraded it to 1.5GB, then also it takes nearly 3 minutes for starting on my windows machine, i think there may be problem of java runtime environment, when i’ll get the soln. to this problem then i’ll post here….

Servlet Lifecycle

जानेवारी 11, 2009

.:Servlet Life Cycle:.

1) Load the servlet .class file into web container’s JVM
2) Create an instance of that class
3) The web container create a unique ServletConfig object that contains any initialization parameters. This config object is passed to the init method.
4) The web container begins sending requests to that component using the service method. Web container issue a unique request and response object to the service method. Each request is processed in unique thread.
5) When web application being shutdown, the web container calls the destroy method