Tomcat Interview Questions and Answers
The Best LIVE Mock Interview - You should go through before Interview
Intermediate / 1 to 5 years experienced level questions & answers
Ques 1. What is Jasper?
- Jasper is Tomcat's JSP Engine. Tomcat 5.x uses Jasper 2, which is an implementation of the Sun Microsystems's JavaServer Pages 2.0 specification.
- Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina).
- At runtime, Jasper is able to automatically detect JSP file changes and recompile them.
Is it helpful?
Add Comment
View Comments
Ques 2. Explain the concepts of Tomcat Servlet Container.
- A servlet container is a specialized web server that supports servlet execution.
- It combines the basic functionality of a web server with certain Java/servlet specific optimizations and extensions (such as an integrated Java runtime environment, and the ability to automatically translate specific URLs into servlet requests).
- Individual servlets are registered with a servlet container, providing the container with information such as the functionality, the URL used for identification.
- The servlet container then initializes the servlet as necessary and delivers requests to the servlet as they arrive.
- Many containers can dynamically add and remove servlets from the system, allowing new servlets to quickly be deployed or removed without affecting other servlets running from the same container.
- Servlet containers are also referred to as web containers or web engines.
Is it helpful?
Add Comment
View Comments
Ques 3. Question : How to communicate between two webservers in two diff systems?
By using plug module .
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What is Tomcat?
- How do you create multiple virtual hosts?
- How do I override the default home page loaded by Tomcat?
- What is Jasper?
- Question : How to communicate between two webservers in two diff systems?
Related differences
Related interview subjects
Glassfish interview questions and answers - Total 8 questions |
Ubuntu interview questions and answers - Total 30 questions |
Linux interview questions and answers - Total 43 questions |
Unix interview questions and answers - Total 105 questions |
Weblogic interview questions and answers - Total 30 questions |
Tomcat interview questions and answers - Total 16 questions |