title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
Advanced Java Programming
Course Description
Overview
This Advanced Java Programming course is designed to provide students with advanced training in developing software using the Java Platform, Standard Edition, or Java SE. It is intended for students with solid experience in structured and object-oriented Java programming, including use of the Collections API and exception handling. Generic types should be understood, at least at a basic level; the course does begin with a refresher and then a more advanced treatment of generic types.After a quick introduction to the Java Time API, students get familiar with the I/O streams model, file handling, and object serialization, and learn to use streams to communicate over network sockets. A two-chapter unit covers multi-threaded programming and concurrency techniques. We look at dynamic typing in Java, in the Reflection API and with dynamic proxies, and understand the underpinnings of source-code annotations.
Objectives
- Make effective use of Java generic types.
- Understand the structure of streams in Java, and learn how to use streams to manage file I/O.
- Learn how to use Java Serialization to internalize and externalize potentially complex graphs of objects.
- Communicate between processes using network sockets.
- Write multi-threaded Java applications that safely manage concurrent access to application state.
- Use the Reflection API and dynamic proxies for highly generic tasks, discovery, or code-generation.
- Use standard annotations and develop custom annotations to express meta-data in Java source files.
- Build unit tests for Java classes using JUnit.
- Write effective tests, and design classes for testability.
- Understand test-driven development (TDD) and use dynamic mocking to support isolated testing.
Audience
- Experienced Java programmers
Prerequisites
- Solid Java programming experience is essential -- especially object-oriented use of the language. Language features and techniques that are integral to some lab exercises include interfaces and abstract classes, threading, generics and collections, and recursive methods
Topics
- Using Generics
- Type Erasure
- Type Boundaries
- Wildcards
- Generic Methods
- Strengths and Weaknesses of Generics
- Legacy Code and Generics
- A History of Time ... in Java
- Limitations of Date and Calendar
- The Time API
- Temporal Types
- Accessors and Adjusters
- Formatting
- Decomposition Into Fields
- Date Arithmetic
- Managing Precision
- Duration and Period
- Time Zones and Offsets
- Converting Between Time Zones
- Delegation-Based Stream Model
- InputStream and OutputStream
- Media-Based Streams
- Filtering Streams
- Readers and Writers
- Byte-Array Streams
- String Readers and Writers
- Closing Streams, Readers and Writers
- The File Class
- Modeling Files and Directories
- File Streams
- Working with File Systems
- The Path Interface
- The Paths and Files Utilities
- Processing with java.util.stream.Streams
- Buffering
- Data Streams
- Push-Back Parsing
- Byte-Array Streams and String Readers and Writers
- The Challenge of Object Serialization
- Serialization API
- Serializable Interface
- ObjectInputStream and ObjectOutputStream
- The Serialization Engine
- Transient Fields
- readObject and writeObject
- Externalizable Interface
- The OSI Reference Model
- Network Protocols
- The Socket Class
- The ServerSocket Class
- Connecting Through URL Objects
- HTTP and Other TCP Servers
- Datagram Clients and Servers
- Non-Blocking Sockets
- Java Thread Model
- Creating and Running Threads
- Manipulating Thread State
- Thread Synchronization
- Synchronized Blocks and Methods
- wait and notify
- join and sleep
- Multi-Threading in Servers
- The Concurrency API
- Semaphore and Other Synchronizers
- Concurrent Collections
- Atomic Operations
- Executor and ExecutorService
- Thread Pools
- Parallel Processing
- Uses for Meta-Data
- The Reflection API
- The Class<T> Class
- The java.lang.reflect Package
- Reading Type Information
- Navigating Inheritance Trees
- Dynamic Instantiation
- Dynamic Invocation
- Reflecting on Generics
- The Proxy Pattern
- Dynamic Proxies in Java
- Use Cases
- The InvocationHandler Interface
- Proxy Classes
- Aspect-Oriented Programming and Java
- The Annotations Model
- Annotation Types and Annotations
- Built-In Annotations
- Annotations vs. Descriptors (XML)
- Automated Testing
- JUnit and Related Tools
- The @Test Annotation
- The Assert Class Utility
- Test Runners
- Lifecycle Methods
- Expecting Exceptions
- Test Suites
- Test Granularity
- Reusing Test Logic
- Recording and Comparing Output
- Test Isolation
- Controlling the Test Environment
- Managing Dependencies
- Non-Invasive Testing
- Designing for Testability
- Factories
- Testing and Threads
- Writing the Test First
- The TDD Cycle
- Advantages of TDD
- Resistance to TDD
- A Case Study
- Mock Objects in Testing
- Mock Objects in Test-Driven Development
- Static vs. Dynamic Mocks
- Stubbing
- Verifying
- Matching and Capturing
- Using a Spy
- Partial Mocking
Related Courses
-
Securing Java Web Applications
EJSE-145- Duration: 4 Days
- Delivery Format: Classroom Training, Online Training
- Price: 2,800.00 USD
-
Secure Java Web Development
EJSE-150- Duration: 5 Days
- Delivery Format: Classroom Training, Online Training
- Price: 3,500.00 USD
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.

STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration