



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




2
Reusability Maintainability (clarity) Design
3
Will use the Java programming language exclusively But the ideas apply to other languages equally well
Sequential object-oriented (OO) programming Basic principles and tools, and Design patterns to improve reusability and reliability
Concurrent OO programming Shared-memory multi-threading (Java Thread class), and Distributed message passing (Java Remote Method Invocation) 4
found = false; for (int i = 0; i < a.length; i++) if (a[i] == e) { z = i; found = true; }
found = false; for (int i = a.length-1; i >= 0; i--) if (a[i] == e) { z = i; found = true; }
Fragment 1:
Fragment 2:
5
Reusability Maintainability
found = a.isIn(e); if (found) z = a.indexOf(e);
6
Java review (2-3 lectures) Programming techniques and tools Specifications and testing Design patterns Refactoring Concurrency Concurrent programming in Java Design patterns Distributed programming To be determined Possibilities include security, event-based programming, reflection, memory management, ...?
7
This is your course: what do you want to learn?
Not just professor/TA to student, but student to student, with regard to ideas, techniques, and solutions
If you don t put effort into the programming projects, you will learn very little
8
Barbara Liskov and John Guttag, Program Development in Java Bruce Eckel, Thinking in Java (3rd Edition) Java primer A complete copy of the book can be downloaded for free
9
Linux cluster; RedHat 9 Lab is in room 3107 CSIC
To the email account registered with UMEG So make sure you check or forward that account! Right after class: check your e-mail address on TESTUDO If you don t get an account by Friday, e-mail us
Make sure you code runs on the linux lab (^10)
http://java.sun.com/j2se/1.4.2/docs/api
Installed on all CSIC machines http://drjava.sourceforge.net/ http://www.eclipse.org
http://www.junit.org
11
Encourages modular, abstract design Admits natural use of concurrency and distribution Relevant in our connected society
Develop a sophisticated family of software by course s end
12
By Unix time of day You must submit a good-faith effort You can be failed for the course if you do not Late submission up to 9am the next morning Score is multiplied by 0.
Submit early and often E-mail course staff to recover previous submit Don t rely on us, though back up your own work
19