COMP2059 - Sun Certified Java Programmer

Notices

book cover

Exam

The assessment of this module is set by Sun Microsystems and takes the form of a 2 hour 55 minute online exam. Exam objectives. In this module we will be doing version 1.5 of the exam as version 1.6 has only just been released and as yet there are no books available for it. There are only small changes between versions 1.5 and 1.6 (whereas there were major changes between versions 1.4 and 1.5).

JavaDocs

The API JavaDocs are not installed on all lab PCs. Also we specifically need version 1.5. To install version 1.5 of the API JavaDocs on your own PC, download the .zip file from the Tools section below. To access the version 1.5 API Javadocs online, click here.

Books

(roll over images to get Amazon buying information)
Sierra K & Bates B, Sun Certified Programmer for Java 5 Study Guide, McGraw-Hill Osborne 2006, ISBN 0072253606. Essential read, you will not pass the exam unless you go through the 800+ pages with a fine tooth comb. You need to already know a bit of Java before this book will make sense. Errata - If you have the older non-revised edition you should mark it up with these. Note: enrolled distance learning students will be given a copy of this book, hence do not need to buy it.

Sierra K & Bates B, Head First Java 2e, O'Reilly 2005, ISBN 0596009208. If you haven't done any significant Java before, this is the book for you. Very readable despite all the bad jokes and the American styling. You need to work through this book first in order to make the study guide accessible. Sample Chapters 2 and 8.

Naftalin M & Wadler P, Java Generics and Collections, O'Reilly 2006, ISBN 0596527756. Good explanation of the difficult topics of collections and generics, goes further than is needed for the SCJP exam. Read online for free here.

Sierra K & Bates B, SCJP Sun Certified Programmer for Java 5 Practice Exams, McGraw-Hill/Osborne Media, Feb 2009, ISBN 0072260882. Unfortunately not yet published (and possibly never will be) but there are some good practice exam questions on the CD-ROM that comes with the study guide.

Links

Tools

Tool Download Comment
Notepad++ .exe Good programmer's text editor; superior replacement for Notepad.
TextPad (evaluation) .exe Good programmer's text editor; superior replacement for Notepad (not free).
Java SE 5.0 update 9 .exe Java 5.0 Standard Edition. Includes the Java Development Kit (JDK) and Java Runtime Environment (JRE). Java 6 is now available but the exam is based on version 5, hence this is the version you should be using. Installation guide. Different University labs have different versions of the Java Compiler and Runtime Environment installed. How to check versions.
Java 5 docs .zip Javadocs reference for Java 5.0.
NetBeans 5.5 .exe Integrated Development Environment (IDE) for Java. The exam doesn't cover the use of an IDE (or for that matter anything on GUI's) so we will not be using this, but it is worth a look for interest.

Weekly Work (more resources will be added as the semester progresses)

Week  LabSheets  Additional Notes and Tutorials  Videos  Page Refs 
1 Console Application Development Command Prompt
Conventions
Operators
Control Structures
Java Basics Tutorial
wk1 1 - 10
173 - 203
227 - 223
275 - 300
315 - 344
489 - 491
2 Classes and Objects Object-Oriented Thinking
Example
Head First's Objectville
wk2 81 - 98
126 - 141
141 - 150
203 - 208
224 - 227
244 - 253
3 Aspects of Object-Oriented Programming       Modifiers
wk3a
wk3b
24 - 65
99 - 126
4 Arrays etc
(solution code: 1 )
Head First's Polymorphism
Comparable Interface Example
wk4 209 - 224
19 - 23
114 - 121
551 - 553
60 - 65
46 - 47
5 Assertions, Exceptions, etc
(solution code: 1 )
wk5a
wk5b
371 - 382
344 - 370
227 - 244
6 Strings and Things
(solution code: 1 )
wk6 411 - 428
471 - 489
457 - 471
7 Files, Streams, and Serialization
(solution code: 1, 2, 3 )
wk7 429 - 457
8 Collections Data Structures wk8 521 - 570
9 Generics Generics Article wk9 570 - 605
10 Inner Classes
(solution code: 1, 2 )
wk10 635 - 655
11 Threads wk11 673 - 729
12 Development wk12 759 - 777

Pub Quiz (works in IE only)

Specialist Topic - Basic Java, rounds: 1 2 3 4 5 (these are NOT exam strength questions)