View
224
Download
2
Tags:
Embed Size (px)
Citation preview
Goals
• Introduce Advanced Topics in Java
• Emphasis on– E-Commerce– Available Tools– Business Applications
• Appropriate Application of Technologies
Course Overview
• Advanced Java Technologies
• Emphasis on E-Commerce Applications
• Project course– Project will be something you can show
perspective employers
Syllabus
• Week 1– Course Introduction– Servlets
• Week 2– Multi-Threading– Java Server Pages
• Week 3– Collections– Networking
• Week 4– JDBC
Syllabus (cont.)
• Week 5– Remote objects– Swing
• Week 6– Swing (cont.)– Java Beans
• Week 7– Java Beans (cont.)– Security
• Week 8– Student Presentations
Course Requirements
• Reading
• Quizzes
• Final Project– Combine several of the learned technologies
into a functional E-Commerce Application
Independent Work
• Interact with others
• Learn from each other
• Code must be your own– Well commented– Code from assignments can be used in the
final project
Final Project -Home Auction
• Homes for sale
• Data base contains photos and descriptions
• Goals– Let public view homes– Register bidders– Allow bidders to place bids– Allow seller to view status
Final Project – User Web App
• Any User access– View homes
• Photos• Descriptions• High Bid
– Search property by price range– Register to be a bidder
• Bidder Access– All above plus
• Place bid on property
Final Project – Seller App
• Web or direct connection to DB– If web, should use different technology then used above
• Ex, if above used Servlets and HTML, this should use JSPs and applets
– If not web, swing components should be used– In either event, reuse of back-end and middleware components
is encouraged
• View status of all properties– Including bidder info
• View status of all bidders• Extra Credit
– Ability to add new homes– Differentiate between seller and realtor
Getting Started
• Getting Tomcat/ MySQL etc.– http://hakata.mt.cs.cmu.edu/20-783/
Handouts/tools.html
Tomcat Documentation
• Programming in Tomcat– http://localhost:8080/tomcat-docs/appdev/
index.html
• Servlet Examples– http://localhost:8080/examples/servlets/
index.html
Servlet Documentation
• Tutorial– http://java.sun.com/docs/books/tutorial/
servlets/index.html
• Javadoc– http://java.sun.com/products/servlet/2.3/javad
oc/index.html
• Spec– http://java.sun.com/products/servlet/download
.html
HttpServlet
• Extended by user app
• doGet(HttpServletRequest request, HttpServletResponse response)
• doPost(HttpServletRequest request, HttpServletResponse response)
Reading Assignments
• Read Tomcat Docs• Review Tomcat Servlet/JSP examples• Review Sun Servlet tutorial (above)• Skim Sun’s Servlet docs (above)• Read Sun’s JSP tutorial
– http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.html
• Read Chap 1 Multithreading– Core Java 2, Vol. 2