Servlet Assignment
The purpose of this assignment is give you practice at building and
deploying a Web-Centric Application. You will be asked to put together
a set of web pages that will allow you to enter a new Book into a Card
Catalog as well as display the current contents of the Card Catalog. The
following is required in the design/implementation of your project.
-
The application must be packaged as a Web Application (WAR format)
-
The application must make use of a javax.sql.DataSource for connection
pooling
-
Your solution must included at least 1 HTML, Servlet, and JSP implementation.
You can have as many of either type once the minimum was met.
-
Your solution must defer all non-User Interface code to a Java or JavaBean
class. No direct application or database code should appear directly within
the Servlet or JSP.
-
The following scenario must be accomplished with your implementation
-
User accesses applications main welcome page
-
User clicks somewhere on the page to enter the site
-
User is presented with FORM-based authentication to enter the site
-
User enters a valid username/password
-
User is presented with summary of card catalog options. There are at least
two; add topic and display contents.
-
User adds 3 Books to the card catalog
-
Application inserts them into a JDBC database using the concepts implemented
with the previous project (Persistence class, XML Persistence descriptor,
etc.), except this time you will setup the database connection through
the application server as a connection pool and access the connection pool
from within a servlet.
-
User displays a summary of the topics.
-
User terminates their session.