Writing Web Pages

Download Report

Transcript Writing Web Pages

Java Technology and Applications
240-527 CoE Masters Programme, PSU
Semester 1, 2007-2008
0. Preliminaries
(V.2)
Please ask
questions
Who I am:
Andrew Davison
CoE, WiG Lab
[email protected]
 Objective
– to give some background on the course
240-527 JTA. Prelim/0
1
1. Outline of the Course
 To
develop skills in intermediate Java
programming for the Web.
 The
course has two parts:
– core Java topics (self-study)
– Web programming (lectures, self-study)
240-527 JTA. Prelim/0
2
2. Prerequistes (for Masters)
 Unlike
in previous years, I do not assume
students know Java.
 A student
should have some programming
experience, preferably of an object oriented
language.
240-527 JTA. Prelim/0
3
3. Main Topics
 1.
Fundamentals of Programming
– background, data types, control statements,
methods, arrays
 2.
Object Oriented Programming
– objects, classes, strings, inheritance,
polymorphism, abstract classes, interfaces
240-527 JTA. Prelim/0
continued
4
 3.
GUI Programming
– GUI basics, event-driven programming
 4.
Exception Handling and IO
– exceptions, simple IO
 5.
Web Programming
– JDBC, XML, HTTP, servlets, JSP
240-527 JTA. Prelim/0
5
4. Meeting Times / Locations
 Monday
 Tuesday
 Thursday
15:00 – 15:50
15:00 – 15:50
15:00 – 15:50
 Times/locations
240-527 JTA. Prelim/0
IDL
IDL
IDL
can change if you ask me!
6
5. Self-Study and Lectures
1 – 4 are to be carried out as
self-study by the student.
 Parts
– self-study will last until the midterm exam
 During
this time, the students should come
to class only on Monday, and only if they
have questions.
240-527 JTA. Prelim/0
continued
7
 After
the midterm exam, lectures will be
three times/week.
 During
this time, I will lecture about the
topics in Part 5
– all students should attend all these classes
240-527 JTA. Prelim/0
8
6. Workload (% of total score)
 Mid-tern
Exam: 35%
(2 hours)
– 28th July to 5th August (week 9)
 Project:
20%: Java application
– 2 weeks; probably weeks 16-17
 Final
Exam: 45%
(3 hours)
– 8th – 19th October (weeks 19-20)
240-527 JTA. Prelim/0
9
Non-Attendence Penalty
I
may take registration at the start of a class.
someone is not there, they lose 1%
(unless they have a good excuse).
 If
 A maximum
of 10% can be lost
– deducted from your final mark
240-527 JTA. Prelim/0
10
7. Course Materials
 The
self-study work comes from:
– Introduction to Java Programming
(Comprehensive Version)
Y. Daniel Liang
Pearson Prentice Hall, 2005, 5th ed.
I
will let students borrow my copy for
photocopying. There is also a copy in the
main PSU library.
240-527 JTA. Prelim/0
11
I
will hand out one copy of my slides
when we get to Part 5
– you should make copies of them
 Online materials:
http://fivedots.coe.psu.ac.th/
Software.coe/Adv%20Java/
 includes
240-527 JTA. Prelim/0
these slides, code examples
12
7. Self-Study Timetable (rough)
1
ch 1
9
2
chs 2, 3
10-11 PSU Open (no teaching)
3
chs 4, 5
12
JDBC (slides, ch 25)
4
chs 6, 7
13
XML (slides)
5
chs 8, 9
14
HTTP (slides)
6
chs 11, 12
15-16 Servlets (slides, ch 26)
7
chs 13, 14
17-18 JSP (slides, ch 27)
Part 4
8
chs 15, 16
240-527 JTA. Prelim/0
Part 5
Topics
Part 1
Week
Part 3 Part 2
chs = chapters from Liang
Midterm
13
8. Other Materials
 There
are lots of Java books and software at
Aj. Somchai's excellent website:
http://java.coe.psu.ac.th/
 Look
240-527 JTA. Prelim/0
there first!
continued
14
 The
current version of Java (known as
JavaSE 6.0) and its documentation are at:
http://java.coe.psu.ac.th/
RefImp.html#J2SE
 You
should get JavaSE 6.0 SDK,
WindowsFull (53.2 MB) and the 6.0
documentation (53.7 MB).
240-527 JTA. Prelim/0
continued
15
 The Java tutorial is at:
http://java.coe.psu.ac.th/
FreeOnline.html
– the first entry under the heading "Sun Press"
– get the zipHTML version (23.5 MB)
240-527 JTA. Prelim/0
16
Servlets/JSP Software
 Tomcat
– http://java.coe.psu.ac.th/
OpenSource.html#Tomcat
240-527 JTA. Prelim/0
17