SW409 - Web Development I with Java V2.0
Description
A second Java programming course covering Java client programming for the web. Topics include: an introduction to HTML, coverage of Java Bean programming with an emphasis on sound object-oriented design using design patterns. Introspection is used to help build a flexible command line interpreter and to design beans. Persistence is used to store instances in files. Internet programming is used as an application of Java beans. Lab included.
Prereq: SW408, or SW509 or permission of the instructor..
Textbooks Java, How to Program: Third Edition
Try: "Core JSP" by Damon Hougland and Aaron Tavistock
the Book store does not have this book
Course Notes: Available at http://www.docjava.com
When: Monday, 6:30-9:30 pm,
Where: b257
Who: Prof. Lyon
Phone (203)641-6293
Fax (203)877-4187
Web: http://www.DocJava.com
Office Hours
Week 1 - A review of Java Basics
Review of outline and requirements for the course. Review of IDE requirements and system requirements. Named Constant, Flow of Control, Switch, For, Continue, Break, Visibility, Package, classes Overloaded Methods, Static Methods, null, casting, subclassing, abstract classing, interfaces, Wrapper classes, Arrays, Strings, Vectors, Exceptions, Intro to threading, Synchronized, Atomic, synchronized blocks. Poor man's threading using AWT, The graphics class.
Goal: To learn how to create and use exceptions.
Outcome: students will write a program to create a credit card exception that requires a try-catch block. This program will be shown to throw excpetions if CC#s are invalid (i.e., < 0 or other than 15 or 16 digits).
Week 2 - A Review of Object Oriented Design
Week 3 - Form based HTML coverage
Week 4 - Servlets doGet, doPost, HttpPostServlet, Mime datatypes
Week 5 - Introspection, reflection API, listing methods,
invoking methods building a CLI
Week 6 - Cookies, Sessions, and JDBC
Week 7 - Guestbooks in JDBC and an Intro to Java Beans
Week 8 - Introspection, property management and persistence
Week 9 - Midterm Exam
Week 10 - Java Server Pages
Week 11 -Java Bean Events
Week 12 - Bean Properties, Bean GUI Issues
Week 13 - Bean Introspection, Bean Networking
Week 14 - GUI Builders, Construction of data gathering beans
Construction of a URL submission robot
Week 15 - Final Exam
Goal: To give students sufficient background to be able
to design and construct their own Java beans.
Outcome: Students will construct Java beans based on
open-ended English language specifications for the bean.
Goal: To give students background in design patterns.
Outcome: Students will be able to identify and use several of the
most common design patterns.
Goal: To give students an introduction to software architecture.
Outcome: Students will be able to use architecture tools
to perform the design and analysis of object oriented software.
Goal: Students will be able to design an elementary GUI, for
web interaction.
Outcome: Students will design and construct their own web
robot for manipulating web-based systems.
Grading:
1/3 Homework and Projects
1/3 Midterm
1/3 Final
Computer Usage:
Web and e-mail access are REQUIRED. You MUST have access to a computer with a Java compiler. Metrowerks CodeWarrior is strongly suggested. I hope to get this in the bookstore soon.
References:
The Java Class Libraries by Chan and Lee, Addison Wesley (c) 1997. See http://www.docjava.com for ordering this and other books.
Java Source Book by Ed Anuff, The John Wiley and Sons, Inc., First Edition, (c)1996.
Course Notes, as required, available on-line at http://www.docjava.com or by purchase of copies.
The Java Programming Language, Second Edition, by Ken Arnold and James Gosling, Publisher: Addison-Wesley, ISBN: 0-201-31006-6
Java 1.1 Unleashed, by Morrison, ISBN 1575213613
Core Java 2 Volume 1:Fundamentals by Cay Horstmann,Gary Cornell, ISBN: 0130819336
Java 1.2 Developer's Handbook by Philip Heller Simon Roberts, ISBN: 0782121799
Digital Signal Processing Recipes in Java by D. Lyon and H. Rao, M&T Books, (c) 1998.
Image Processing in Jav a by D. Lyon (c) 1999.
Goals:
To learn how to design large-scale software systems using Java. Object orientation and packaging are stressed. Testing and coding of several projects, with a variety of modern techniques.
Coordinator:
Douglas Lyon, Professor of Computer and Software Engineering. E-mail: lyon@docjava.com
Assignments will be due at the beginning of class. Assignments handed in after the beginning of class will loose 5 points. Assignments handed in after the end of class will lose 10 points. Late homeworks lose 10 points per day late, weeks ends and holidays included. Missed tests result in a zero unless a written excuse is presented.
More details are available about the class at: http://www.docjava.com