1) Explain what is Jasper?
2) Mention what is the output of select * from tab?
It displays the default tables in the database
3) Explain how you can configure Tomcat to work with IIS and NTLM?
You have to follow the standard instructions for when the isapi_redirector.dll
Configure IIS to use “integrated windows security”
Ensure that in the server.xml you have disable tomcat authentication
<Connector port = "8009" enableLooksup = "false" redirect port = "8443" protocol = "AJP/1.3" tomcatAuthentication = "false" />
4) Explain when you can use . and when you can use []?
If you are running a bean property, use the .operator, and if you are executing a map value or an array index, it is preferred to use the [] operator. Although you can use these operators interchangeably.
5) Mention what is the default port for Tomcat?
The default port for Tomcat is 8080. After initialising Tomcat on your local machine, you can verify if Tomcat is running the URL: http://localhost:8080
6) Mention what are the connectors used in Tomcat?
In Tomcat, two types of connectors are used
7) Mention what are the Catalina’s Configuration files?
Catalina consists of configuration files are
8) Explain how running Tomcat as a windows service provides benefits?
Running Tomcat as a windows service provides benefits like
9) Explain when to use SSL with Tomcat?
You would use Tomcat to handle connection, when you are running Tomcat as a stand-alone web server.
10) Explain how you can deploy a web application using WAR files?
JSPs, servlets, and their supporting files are placed in the proper subdirectories under the web apps directory in Tomcat. You can make all the files under the web apps directory into one compressed file, which ends with .war file extension. You can execute a web application by placing a WAR file in the webapps directory. When a web server starts executing, it pulls out the WAR file’s contents into the appropriate webapps sub-directories.
11) Explain what is Tomcat Valve?
A tomcat valve- a new technology is introduced with Tomcat 4 which enables you to link an instance of a Java class with a specific Catalina container.
12) Mention with how many valves does Tomcat configured with?
Four types of valves Tomcat is configured with
13) Explain how servlet life cycles?
The life-cycle of a typical servlet running on Tomcat
14) Explain what is the purpose of NAT protocol?
The purpose of NAT protocol is to hide private IP address from public IP address and give a certain level of security to the organization.
15) Explain what does the MAC stands for?
MAC means Medium Access Control
16) Explain what is Tomcat Coyote?
Tom coyote is an HTTP connector based on HTTP/ 1.1 specification which receives and transport web requests to the Tomcat engine by listening to a TCP/IP port and sent request back to the requesting client.
Leave a Reply