Advanced Java Programming
ava Advanced Training shows developers how to expand their programming skills and get more out of Java. This course offers platform- and framework-neutral tutorials that can be used to build web, mobile, and desktop applications. Starting with advanced methods of defining Java classes and programmatic flow, author David Gassner goes on to describe the Java Reflection API and the Collections Framework; management of files and directories; test-driven development with advanced exception handling and reporting; and how to work with multiple threads.
Topics include:
Installing Java on Windows and Mac OS X
Installing Eclipse
Using new features such as simplified generics
Working with advanced class structures (member, local inner, etc.)
Using the Reflection API
Navigating inheritance trees
Managing unordered and ordered sets
Peeking and polling with queues
Testing and error handling
Managing files and directories
Working with I/O streams
Multi-threading
Next steps with Java
Course Contents
Introduction
Welcome -
Understanding what you should know before watching this course -
Using the exercise files
1. Getting Started
Installing Java 7 on Windows -
Installing Java 7 on OS X -
Installing Eclipse 4.2 Juno
2. Java 7 New Features
An overview of Java 7 new features -
Exploring the simplified use of generics -
Using underscores in numeric literals -
Using strings in switch statements
3. Using Advanced Class Structures
Using static initializers -
Using instance field initializers -
Using member classes -
Using local inner classes -
Using anonymous inner classes -
Creating and using enumeration classes -
4. Using the Reflection API
Using the Class class -
Instantiating classes dynamically -
Navigating inheritance trees
5. More of the Collections Framework
Managing unordered sets with HashSet -
Managing ordered sets with TreeSet -
Controlling list order with LinkedList -
Peeking and polling with queues
6. Testing and Advanced Exception Handling
Exploring test-driven development with the assert keyword -
Using the finally keyword -
Using try-with-resources in Java 7 -
Defining and throwing a custom exceptionv
7. Managing Files and Directories in Java 7
Using the Path class -
Managing files and directories -
Reading and writing text files -
Walking the directory tree -
Finding files -
Watching a directory for file changes
8. Working with I/O Streams
Reading and writing byte streams -
Reading and writing character streams -
Using buffered streams -
Scanning tokenized text
9. Working with Multi-threading
Extending the Thread class -
Implementing the Runnable interface -
Interrupting a thread -
Synchronizing threads
Conclusion
Where to go from here