ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is the use of servlet engine?
 Question Submitted By :: Gopalraop
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the use of servlet engine?
Answer
# 1
The Java Servlet API allows a software developer to add 
dynamic content to a Web server using the Java platform. 
The generated content is commonly HTML, but may be other 
data such as XML. Servlets are the Java counterpart to non-
Java dynamic Web content technologies such as PHP, CGI and 
ASP.NET. Servlets can maintain state across many server 
transactions by using HTTP cookies, session variables or 
URL rewriting.

The Servlet API, contained in the Java package hierarchy 
javax.servlet, defines the expected interactions of a Web 
container and a servlet. A Web container is essentially the 
component of a Web server that interacts with the servlets. 
The Web container is responsible for managing the lifecycle 
of servlets, mapping a URL to a particular servlet and 
ensuring that the URL requester has the correct access 
rights.

A Servlet is an object that receives a request and 
generates a response based on that request
 
Is This Answer Correct ?    0 Yes 1 No
Sivasubramanian.k
 
  Re: what is the use of servlet engine?
Answer
# 2
Servlets exist in and are managed by the servlet engine in
the Application Server. The servlet engine is an internal
object that handles all servlet meta functions. These
functions include instantiation, initialization,
destruction, access from other components, and configuration
management
 
Is This Answer Correct ?    0 Yes 0 No
Ajay Dhingra
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is polymorphism with example?types of polymorphism? HP5
What are interfaces?  1
Howmany number of objects we can store in an ArrayList. Is there any limit? TCS4
explain the concept of inheritance with an example? Polaris3
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread? TCS1
Difference between String and String Buffer?  3
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).  2
How a class can implement an interface? SysArc4
which one the better thread emplemented thread or extended ? Fidelity3
How multipleInheritance is possible in java? Satyam15
When we will use an Interface and Abstract class?  2
can abstract class have constructor how can you achive this ? Fidelity3
what is a transient variable?  2
whats string ? HCL4
What are the Object and Class that classes used for?  2
What is the use join() in Threads ? HCL3
How the elements are organized in BorderLayout?  4
what is difference between class and object?  5
How to add panel to a Frame?  2
How can be define MARKER interfce in java  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com