Exam 2 Review Topics

Sockets

-What is a socket?

-How do you use the Java Socket and ServerSocket classes?

HTTP

-What does an HTTP request look like?

-What does an HTTP response look like?

-What are the elements of a URL?

Servlets

-How do you use Servlets to implement a web application?

SQL/JDBC

-How would you construct an SQL statement to perform a given query?

-How would you set up a table to store data of a particular type?

Unit Testing

-Why use unit testing?

-How would you design a series of unit tests?

JSPs/Templates

-What is the advantage of using JSPs?