Chapter 26 Flashcards

1
Q

What is application server

A

If there is large data then servlets use application server instead to sending directly to RDBMS. Application server then communicates to RDBMS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are java servlet

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the advantages of servlets

A
  • Can use Java API’s e.g. JDBC
  • Portable across servers and operating systems
  • Good security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are requirements for servlet

A
  • J2SE
  • Additional J2EE based libraries for servlets
  • A capable servlet web engine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In tomcat installation, we set some environment variable. one is JAVA_HOME. What is it for

A

For JDK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In tomcat installation, we set some environment variable. one is CATALINA_HOME. What is it for

A

For tomcat installation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the default port of tomcat

A

8080

How well did you know this?
1
Not at all
2
3
4
5
Perfectly