servlet has not any main method in it how does it work by
JVM?

Answer Posted / ananth

Servlets has init() method to load the initial steps for
loading servlet instance in the server class path at the
first time of the servlet engine has starts.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java ee container?

649


What do you understand by j2ee?

699


What is event handling in java?

665


Enlist the technologies embraced in j2ee?

684


What is the difference between session bean and entity bean ?

642


What is connector?

745


Why is java called technology?

652


How do you make a class immutable in java?

631


What does application client module contain?

740


Why java is called portable language?

678


Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...

2073


What is jta and jts?

697


Define orm and its working in j2ee?

753


Why is java called object oriented?

678


What is devops in java?

723