SE452: Homework [18/18] ![]() ![]() |
Goal: To write a JSP/Servlet/JavaBean web application that uses a database (and JDBC with JNDI) to store persistent data.
Supply the application as a deployable war file. Test deploying it before submitting it to make sure you have the format right. Place the source files for the servlet in a src directory in the war file. Please link the homework assignment to the index.html file in the document root. Please do not include the hsqldb.jar file in your lib directory, I already have a copy. (You should be placing it in your own tomcat_home/common/lib directory instead of in your webapp directory.)
Before submitting your code, practice building the entire environment from scratch to ensure that your database building code is correct and that your configurations are set correctly.
Do not write code that has any paths/drivers/urls hardcoded in it. Do not open any text files in your code for data (I know this isn't what we would do in the real world, but it is easier to test and grade). Everything should be configurable via the supplied xml files (config.xml and web.xml)
Grading Breakdown:
Item | Points |
---|---|
configuration (web.xml and context.xml) | 10 |
Program to build database | 20 |
Servlet code that integrates to db | 30 |
JSP/JavaBean implementation | 20 |
Coding style and JavaDoc | 10 |
Proper Submission | 10 |
Total: | 100 |