Chapter 26 Flashcards
What is application server
If there is large data then servlets use application server instead to sending directly to RDBMS. Application server then communicates to RDBMS
What are java servlet
A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests, they most commonly implement applications hosted on Web servers. Such Web servlets are the Java counterpart to other dynamic Web content technologies such as PHP and ASP.NET
What are the advantages of servlets
- Can use Java API’s e.g. JDBC
- Portable across servers and operating systems
- Good security
What are requirements for servlet
- J2SE
- Additional J2EE based libraries for servlets
- A capable servlet web engine
In tomcat installation, we set some environment variable. one is JAVA_HOME. What is it for
For JDK
In tomcat installation, we set some environment variable. one is CATALINA_HOME. What is it for
For tomcat installation
What is the default port of tomcat
8080