Advanced Java Programming
|Course Duration: 5 Days|
|Time: 9:00am – 5:00pm|
|Member Fee: TBC|
|Non Member Fee: TBC|
Book/request a place on this course
To book/request a place on this course please email Annette Coburn on email@example.com or phone on 086 0848704. Please note the date is provisional and will be confirmed shortly.
Advanced Java is a comprehensive study of many advanced Java topics. These include assertions, collection classes, searching and sorting, regular expressions, logging, bit manipulation, serialization, threads, networking with sockets, Remote Method Invocation, and Java Database Connectivity. This course consists of approximately 40% lab exercises and 60% theory and discussion.
Upon completion of this course, students will be able to:
Document and package a Java application.
Use many of the new enhancements added to the Java API.
Use assertions to write robust Java code.
Use regular expressions for efficient pattern matching.
Choose appropriate data structures from the Java Collection API.
Sort and search arrays and lists using a variety of techniques.
Capture configuration and debugging information using the Java Logging APIs.
Use Generics to create type safe collections.
Serialize Java objects.
Use features of the new I/O API.
Write TCP/IP Client Server applications using sockets.
Write multi-threaded Java applications.
Execute methods on a remote object using RMI.
Perform database queries and updates using JDBC.
This course is intended for Java programmers who wish to write programs using many of the advanced Java features.
Students should have completed a beginning Java course or have programmed in Java for at least three to six months.
1. REVIEW OF JAVA FUNDAMENTALS
1.The Java Environment
3.The String Class
4.The StringBuffer Class
6.Passing Data Types to a Method
7.Constructors and Initialization
11.Static Data, Methods, and Blocks
2. PACKAGING AND DISTRIBUTING A JAVA APPLICATION
2.Managing Source and Class Files
3.The javadoc Utility
4.Documenting Classes and Interfaces
6.Documenting Constructors and Methods
7.Running the javadoc Utility
9.The Manifest File
10.Bundling and Using Jar-Packaged Resources
3. MISCELLANEUS ENHANCEMENTS
1.Enhanced for Loop
2.Autoboxing and Auto-Unboxing
7.Format Specifier Syntax
8.Format Specifier Conversions
9.Format Specifier Flags
10.Formatted Integers Example
11.Formatted Floating Points Example
12.Formatted Strings Example
13.Formatted Dates Example
14.Complex Formatted Example
3.Compiling with Assertions
4.Enabling and Disabling Assertions
5. REGULAR EXPRESSIONS
5.Capturing Groups and Backreferences
7.Pattern and Matcher
6. THE JAVA COLLECTION CLASSES
2.The Arrays Class
3.Searching and Sorting Arrays of Primitives
4.Sorting Arrays of Objects
5.The Comparable and Comparator Interfaces
6.Sorting – Using Comparable
7.Sorting – Using Comparator
9.Lists and Sets
11.Lists and Iterators Example
13.Maps and Iterators Example
14.The Collections Class
15.Rules of Thumb
2.Defining Simple Generics
3.Generics and Subtyping
8. ADVANCED I/O
2.Basic File I/O Example
4.The Console Class
8.Zip File Example
9.Writing Your Own I/O Classes
11.The Preferences Class
9. ENHANCED I/O
10. LOGGING API
5.Specifying Handlers and Formatters
2.The Client/Server Model
6.A Time-of-Day Client
12. THREADS AND CONCURRENCY
1.Review of Fundamentals
2.Creating Threads by Extending Thread
3.Creating Threads by Implementing Runnable
4.Advantages of Using Threads
13. REMOTE METHOD INVOCATION (RMI)
3.The Remote Interface
4.The Remote Object
5.Writing the Server
6.The RMI Compiler
7.Writing the Client
8.Remote Method Arguments and Return Values
9.Dynamic Loading of Stub Classes
10.Remote RMI Client Example
11.Running the Remote RMI Client Example
14. JAVA DATABASE CONECTIVITY (JDBC)
3.Structured Query Language
4.A Sample Program
Book/request a place on this course
To book/request a place on this course please email Annette Coburn on firstname.lastname@example.org or phone on 086 0848704.