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.
-
- NetBeans Web Plugins
HOWTO
- HOWTO directions for installing web development plugins for
NetBeans in the CSc labs.
-
- 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.
-
- 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.
-
- 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.
-
- Quickstart
to Developing Web Apps with NetBeans
- This document takes you through the basics of using
NetBeans IDE to develop web applications.
-
- 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.
-
- HOWTO
configure NetBeans for SQLite
- Directions for setting up NetBeans in the CSL to work with
SQLite database.
-
- Create web app and
SQLite
database
- HOWTO use NetBeans to create a simple web
app that uses an SQLite database
-
- Enhancing
the sample web app.
- In this activity you will add more features to the wrestler
web app.
-
- Experiences using PHP
and large websites
- This paper examines the issues in trying to use PHP in
larger commercial websites.
-
- 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.
-
- Java Servlet
Technology
- The Complete Servlet Tutorial from Sun.
-
- JavaServer Pages
Technology
- The Complete JSP Tutorial from Sun.
-
- 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.
-
- 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.
-
-
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.
- Complete tutorial 1.
- Read articles 3 and 4.
- Complete tutorial 5.
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.
- If you are the Designer for your team, complete tutorial 6 up
to "Using JSTL to handle internationalization".
- Complete tutorials 7 and 8.
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.
- Extra Credit.
Creating your own web app.
In this activity you will create your own web app from scratch.
Invent some simple application that requires a database for
persistence. For example, create a form in which the user
enters the data from their Time Log for a week. A query page
looks up the data for a week and performs the summary
calculation.
Submit a one page "lab report" summarizing the main things you learned.
Discuss any difficulties you encountered and how you solved them.
Submit a printouts of all the pages of your running web app.
Submit printouts of the source code for all the jsp pages
in your 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).
- Convert the solution to tutorial #11 (provided in the article) so
that it runs under NetBeans with SQLite.
- Convert the Duke's
bookstore example so that it runs under NetBeans with SQLite.
- Convert the Java Pet
Store Demo so that it runs under NetBeans with SQLite.