![]()
Java Developer Program
Basic Information Time: May 10, May 17: 5:45 pm - 9:00 pm
Location: Loop, CDM 309
Name: Dennis Mumaugh
Email: dmumaugh@cdm.depaul.edu
Phone: (630) 983-1221
Class web page(s): Java Developer Course: JDP (http://d2l.depaul.edu) and http://condor.depaul.edu/dmumaugh/JDP
Course Notes, Handouts & Examples Here you will find my lecture notes in Word and/or PowerPoint format. Lecture notes are in PowerPoint format. You can print them in many formats including one with a slide and notes (recommended) and one with 6 slides per page. Notes average about 50 pages. [We will distribute the lecture notes in class].
DISCLAIMER: I stress that these are my personal notes and as such are not meant to reflect exactly what was covered in class nor do I claim that they contain no errors. These notes are provided for convenience only.
Lecture 1: May 10 » Network Programming in Java: Network programming: the java.net package, sockets, HTTP
- Reading:
- Harold: Chapters 2-3, 9 and 10; pp. 525-542
- Core Java, Vol. 2: pp. 1-64, 169-217
- Java API javadoc documentation on the Socket and ServerSocket classes
- Technology Brief TCP
- Technology Brief HTTP
- Reading Data from the Internet
- Example code:
- PortProbe.java (src: PortProbe.java)
- DayTime.java (src: DayTime.java)
- DaytimeClient.java (src: DaytimeClient.java)
- LocalPortScanner.java (src: LocalPortScanner.java)
- ReverseClient.java (src: ReverseClient.java)
- ReverseServer.java (src: ReverseServer.java)
- ReverseServerMT.java (src: ReverseServerMT.java)
- SerialC.java (src: SerialC.java)
- SerialS.java (src: SerialS.java)
- Makefile.mk – file to compile and test examples
- Example source in collected in zip format
- Lecture notes
Lecture 2: May 17 » Network Programming: Streams programming, applets, UDP, Multicast,
- Reading:
- Harold: Chapters 1-4, 12-14; pp 53-63; pp. 497, 525-542
- Core Java, Vol. 1: pp. 516-550
- Core Java, Vol. 2: pp. 1-64, 169-217
- Technology Brief TCP
- Technology Brief HTTP
- Java API javadoc documentation (JDK 1.8)
- Java I/O Streams
- Java Streams Basics
- Java in a Nutshell:Input and Output Streams
- Example code:
- SingleFileHTTPServer.java (src: SingleFileHTTPServer.java)
- SimpleClassLoader.java (src: SimpleClassLoader.java)
- RemoteClassLoader.java (src: RemoteClassLoader.java)
- RCLTester.java.html (src: RCLTester.java)
- AppletHost.java.html (src: AppletHost.java)
- TimeServerDG.java (src: TimeServerDG.java)
- TimeReceiverDG.java (src: TimeReceiverDG.java)
- TimeServerMC.java (src: TimeServerMC.java)
- TimeReceiverMC.java (src: TimeReceiverMC.java)
- Code not covered in class (uses NIO package)
- ReverseServerNB.java (src: ReverseServerNB.java)
- ReverseClient.java (src: ReverseClient.java)
- NBS.java.html (src: NBS.java)
- NBC.java.html (src: NBC.java)
- BCSocket.java.html (src: BCSocket.java)
- BC.java.html (src: BC.java)
- Makefile.mk – file to compile and test examples
- Example source in collected in zip format
- Lecture Notes
NOTE: Most of these documents are in Word or PowerPoint. You can get free viewers for these from the Microsoft web site.
Class Resources Text Book
- Core Java, Volume I – Fundamentals, Eighth Edition, Cay S. Horstmann and Gary Cornell, ISBN: 978-0132354769
Reference Books:
- Core Java, Volume II – Advanced Features, Eighth Edition, Cay S. Horstmann and Gary Cornell, ISBN:978-0132354790
- Java Network Programming, 3rd edition, Elliotte Rusty Harold, O'Reily Associates, 2004. ISBN: 0-596-00721-3
- Fundamental Networking in Java, Pitt, Esmond, Springer, 2006, ISBN 1-84628-030-3
Useful Repositories
- Readings, a reading list for SE 550 organized by topic. Many of these articles will be useful to you.