aspose file tools*
The moose likes Servlets and the fly likes why lifecycle method required ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "why lifecycle method required ?" Watch "why lifecycle method required ?" New topic

why lifecycle method required ?

Markandey Sahu

Joined: Jun 29, 2006
Posts: 13
I want to know why life cycle method required in servlet or in jsp. What is need of life cycle method why servlet container is designed to execute life cycle method int, service and destroy.
Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 784

See this. It may help you

SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
I agree. Here's the link:
subject: why lifecycle method required ?
Similar Threads
servlet life cycle
What is Software Development Life Cycle
init and constructor in servlet
difference between the servlet life cycle method and jsp lifecycle method