17
40-527 JTA. Prelim/0 Java Technology and Java Technology and Applications Applications Objective Objective to give some background on the to give some background on the course course 240-527 CoE Masters Programme, PS U Semester 1, 2007-2008 Who I am: Andrew Davison CoE, WiG Lab [email protected] 0. Preliminar ies (V.2) Please ask questions

240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

Embed Size (px)

Citation preview

Page 1: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 1

Java Technology and ApplicationsJava Technology and Applications

ObjectiveObjective– to give some background on the course to give some background on the course

240-527 CoE Masters Programme, PSUSemester 1, 2007-2008

Who I am:Andrew DavisonCoE, WiG [email protected]

0. Preliminaries (V.2)

Please askquestions

Page 2: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 2

1. Outline of the Course1. Outline of the Course

To develop skills in To develop skills in intermediateintermediate Java prog Java programmingramming for the Web for the Web..

The course has two parts: The course has two parts: – core Java topics (self-study)core Java topics (self-study)– Web programming (lectures, self-study)Web programming (lectures, self-study)

Page 3: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 3

2. Prerequistes (for Masters)2. Prerequistes (for Masters)

Unlike in previous years, I do Unlike in previous years, I do notnot assume assume students know Java.students know Java.

A student should have some programming A student should have some programming experience, preferably of an object oriented experience, preferably of an object oriented language.language.

Page 4: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 4

3. Main Topics3. Main Topics

1. 1. Fundamentals of ProgrammingFundamentals of Programming– background, background, data types, control statements, data types, control statements,

methods, arraysmethods, arrays

2. 2. Object Oriented ProgrammingObject Oriented Programming– objects, classes, strings, inheritance, objects, classes, strings, inheritance,

polymorphism, abstract classes, interfacespolymorphism, abstract classes, interfaces

continued

Page 5: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 5

3. 3. GUI ProgrammingGUI Programming– GUI basics, event-driven programmingGUI basics, event-driven programming

4.4. Exception Handling and IOException Handling and IO– exceptions, simple IOexceptions, simple IO

55. . Web ProgrammingWeb Programming– JDBC, XML, HTTP, servlets, JSPJDBC, XML, HTTP, servlets, JSP

Page 6: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 6

4. Meeting Times / Locations4. Meeting Times / Locations

MondayMonday 15:00 – 15:5015:00 – 15:50 IDLIDL TuesdayTuesday 15:00 – 15:5015:00 – 15:50 IDLIDL ThursdayThursday 15:00 – 15:5015:00 – 15:50 IDLIDL

Times/locations can change if you Times/locations can change if you askask me! me!

Page 7: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 7

5. Self-Study and Lectures5. Self-Study and Lectures

Parts 1 – 4 are to be carried out as Parts 1 – 4 are to be carried out as self-study by the student.self-study by the student.– self-study will last until the midterm examself-study will last until the midterm exam

During this time, the students should come During this time, the students should come to class to class only on Mondayonly on Monday, and only if they , and only if they have questions.have questions.

continued

Page 8: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 8

After the midterm exam, lectures will be After the midterm exam, lectures will be three times/weekthree times/week..

During this time, I will lecture about the During this time, I will lecture about the topics in Part 5topics in Part 5– all students should attend all these classesall students should attend all these classes

Page 9: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 9

66. Workload (% of total score). Workload (% of total score)

Mid-tern Exam: 35%Mid-tern Exam: 35% ((22 hours) hours)– 28th July to 5th August (week 9)28th July to 5th August (week 9)

Project: 20%: Project: 20%: JavaJava application application– 2 weeks; probably weeks 12 weeks; probably weeks 16-176-17

Final Exam: 45%Final Exam: 45% (3 hours)(3 hours)– 8th – 19th October (weeks 19-20)8th – 19th October (weeks 19-20)

Page 10: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 10

Non-Attendence PenaltyNon-Attendence Penalty

I I maymay take registration at the start of a class. take registration at the start of a class.

If someone is not there, they lose If someone is not there, they lose 1%1% (unless they have a good excuse)(unless they have a good excuse)..

A maximum of A maximum of 10%10% can be lost can be lost– deducted from your final markdeducted from your final mark

Page 11: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 11

7. Course Materials7. Course Materials

The self-study work comes from:The self-study work comes from:– Introduction to Java ProgrammingIntroduction to Java Programming

(Comprehensive Version)(Comprehensive Version)Y. Daniel Y. Daniel LiangLiangPearson Prentice Hall, 2005, 5th ed.Pearson Prentice Hall, 2005, 5th ed.

I will let students borrow my copy for I will let students borrow my copy for photocopying. There is also a copy in the photocopying. There is also a copy in the main PSU library.main PSU library.

Page 12: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 12

I will hand out one copy of my slidesI will hand out one copy of my slides when we get when we get to Part 5to Part 5– you should make copies of themyou should make copies of them

Online materials:Online materials:http://fivedots.coe.psu.ac.th/http://fivedots.coe.psu.ac.th/

Software.coe/Adv%20Java/ Software.coe/Adv%20Java/ includes these slides, code examplesincludes these slides, code examples

Page 13: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 13

7. Self-Study Timetable (rough)7. Self-Study Timetable (rough)

Week Topics

1 ch 1

2 chs 2, 3

3 chs 4, 5

4 chs 6, 7

5 chs 8, 9

6 chs 11, 12

7 chs 13, 14

8 chs 15, 16

9 Midterm

10-11 PSU Open (no teaching)

12 JDBC (slides, ch 25)

13 XML (slides)

14 HTTP (slides)

15-16 Servlets (slides, ch 26)

17-18 JSP (slides, ch 27)

Par

t 1

Part 4

Par

t 3P

art 2

chs = chapters from Liang

Par

t 5

Page 14: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 14

88. Other Materials. Other Materials

There are lots of Java books and software atThere are lots of Java books and software at Aj. Somchai's excellent Aj. Somchai's excellent wwebsite:ebsite:

http://java.coe.psu.ac.th/

Look there first!Look there first!

continued

Page 15: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 15

The current version of Java (known as The current version of Java (known as JJavaSEavaSE 66.0) and its documentation are at:.0) and its documentation are at:http://java.coe.psu.ac.th/http://java.coe.psu.ac.th/

RefImp.html#J2SERefImp.html#J2SE

You should get JYou should get JavaSE 6.0avaSE 6.0 SDK, Window SDK, WindowsFull (5sFull (53.23.2 MB) MB) andand the the 66.0 documentatio.0 documentation (n (53.753.7 MB) MB)..

continued

Page 16: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 16

The Java tutorial is at:The Java tutorial is at:http://java.coe.psu.ac.th/http://java.coe.psu.ac.th/ FreeOnline.html FreeOnline.html

– the first entry under the heading "Sun Press"the first entry under the heading "Sun Press"– get the zipHTML version (get the zipHTML version (23.523.5 MB) MB)

Page 17: 240-527 JTA. Prelim/01 Java Technology and Applications v Objective –to give some background on the course 240-527 CoE Masters Programme, PSU Semester

240-527 JTA. Prelim/0 17

Servlets/JSPServlets/JSP Software Software

TomcatTomcat– http://java.coe.psu.ac.th/ OpenSource.html#Tomcat