Project Resources

Spring 2009


Java Web Development

Resources for learning about Java Web Development. The first section covers the basics (required), the next section is more advanced (optional). At the bottom is an example student created site.
  1. NetBeans Web Plugins HOWTO
    HOWTO directions for installing web development plugins for NetBeans in the CSc labs.
  2. Developing JSPs and Servlets with Netbeans
    Quick hands-on tutorial for using NetBeans for web development. NetBeans comes with a built-in Tomcat server for development of JSPs and Servlets. It also has templates for Web Applications, JSP pages and Servlet classes.
  3. Servlets and JSP Pages Best Practices
    A short summary of how the technology works, and a list of the most elegant and efficient ways to use servlets and JSP pages in your web applications. Definitely read the overview; the best practices you can save until later.
  4. Java Servlets - Part 1 [Java and J2EE]
    In this fast-paced introduction to writing and deploying Java Servlets, Kevin takes you through the process step by step WITHOUT NetBeans.
  5. Quickstart to Developing Web Apps with NetBeans
    This document takes you through the basics of using NetBeans IDE to develop web applications.
  6. NetBeans IDE 5.5 Tutorial for Web Applications
    In this tutorial, you build a fairly complex web application while being introduced to a number of tools and technologies in NetBeans IDE, as well as a typical web development cycle, from creation to deployment.
  7. HOWTO configure NetBeans for SQLite
    Directions for setting up NetBeans in the CSL to work with SQLite database.
  8. Create web app and SQLite database
    HOWTO use NetBeans to create a simple web app that uses an SQLite database
  9. Enhancing the sample web app.
    In this activity you will add more features to the wrestler web app.

  10. Experiences using PHP and large websites
    This paper examines the issues in trying to use PHP in larger commercial websites.
  11. All Java, No Froth: 6 Easy Steps to MVC Web Apps [Java and J2EE]
    Kevin introduces JDBC, servlets, JSP, and JSTL, and combines them using MVC architecture to help you gain the knowledge you'll need to concoct practical Java web app WITHOUT NetBeans.
  12. Java Servlet Technology
    The Complete Servlet Tutorial from Sun.
  13. JavaServer Pages Technology
    The Complete JSP Tutorial from Sun.
  14. Example Website
    This web site was created using Java web technologies by a 308 student team for a real customer. The site is now actually generating revenue.
  15. Create a unit test for the sample web app with HttpUnit.
    In this activity you will setup NetBeans to work with HttpUnit testing framework and add a simple unit test to your project.
  16. JSP by Example tutorial from Sun
    A learn by example tutorial for beginning JSP programmers.



J2EE Training Activities

These directions refer to the Java Web Development Resources.
#1. Submit a one page "lab report" summarizing the main things you learned. Discuss any difficulties you encountered and how you solved them. If any of the directions were incorrect, unclear, or confusing, explain what would make them easier to follow.
Submit a printout of a browser page showing your running web app.


#2.
Submit a one page "lab report" summarizing the main things you learned. Discuss any difficulties you encountered and how you solved them. If any of the directions were incorrect, unclear, or confusing, explain what would make them easier to follow.
Submit a printout of a browser page showing your running web app for the course description page for the subject "Hypnosis".


#3.
Submit a one page "lab report" summarizing the main things you learned. Discuss any difficulties you encountered and how you solved them. If any of the directions were incorrect, unclear, or confusing, explain what would make them easier to follow.
Submit a printout of your "new subject" page showing the form you created. Submit a printout of the "subject browser" showing a new subject that you added to the database. Submit printouts of the source code for all the jsp pages in your enhanced web app.


#4 (Extra Credit)

Any of these problems will give you more practice with connecting a web app to a database in NetBeans.  (The instructor has not solved any of these problems yet).