Java Advanced Developer

5 Day Course
Hands On
Code JAVAADVDEV

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This course, delivered using Java 11, is designed for existing Java developers whom are comfortable with the fundamentals and who want to take the next step. We'll have you build a series of realistic apps that exploit the more complicated language elements and APIs including generics, lambda expressions and methods references, streams, concurrency, asynchronous and reactive programming, non-blocking IO, and reflection.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Objectives

The delegate will learn and acquire skills as follows:

  • Work with a build tool
  • Configure and apply logging
  • Make sense of and construct generic classes and methods
  • Differentiate between the different types of Collection and Map; choose and use a collection/map appropriately
  • Correctly override hashCode and equals, and compareTo/compare
  • Code and use nested classes
  • Code lambda expressions and method references
  • Define and describe functional programming; make sense of Java's functional interfaces
  • Transform collections using streams with lambdas and method references
  • Produce robust multithreaded code using Executors, synchronisation techniques, concurrent and immutable collections, and parallel streams
  • Exploit CompletableFuture to code asynchronously
  • Define and describe reactive programming; code with Observables using RxJava
  • Read from and write to files in a non-blocking manner
  • Read from and write to a URL/socket; code a custom multithreaded/non-blocking server
  • Declare custom annotations
  • Perform introspection using Java's reflection API

Target Audience

The Java Advanced Developer course is aimed at existing Java developers seeking to take the next step beyond the fundamentals. It may also be of value for those developers migrating to Java from another language, and who feel they need not do a course covering the fundamentals.

Additional Information

Whilst not strictly aligned to it, this course is a good choice for anyone intending to take Oracle's Java SE 11 Programmer II exam. Most of the headline exam topics are covered though additional preparation is likely to be required.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Collapse all

Build Tools (9 topics)

  • What is a build tool
  • Maven
  • Archetypes
  • Directory structure
  • The POM
  • Dependencies
  • RepositoriesLifecycles, phases, and goals
  • Profiles
  • Plugins

Logging (9 topics)

  • The Logger
  • Logger hierarchy
  • Log levels
  • Formatters
  • Filters
  • Appenders
  • Log4j2
  • Logback
  • SLF4J

Generics (8 topics)

  • Generic types
  • Generic methods
  • Bounded type parameters
  • Generics and inheritance
  • Type inference
  • Wildcards
  • Type erasure
  • Restrictions

Collections (8 topics)

  • The Collection interface hierarchy
  • Iterable and Iterator
  • Collection operations and traversal
  • The Collections class
  • Collection types (characteristics and implementations) incl. List, Set, and Queue
  • The Map interface hierarchy
  • Map operations and traversal
  • Map types (characteristics and implementations)

Hashcode & equals AND compareTo/compare (8 topics)

  • The Object class
  • Overriding toString
  • Equality and membership testing
  • Hashing collections
  • Overriding hashCode and equals
  • The Comparable and Comparator interfaces
  • Searching and sorting
  • Overriding compareTo and compare

Nested Classes (6 topics)

  • Static nested classes
  • Inner classes
  • Shadowing
  • Local classes
  • Anonymous classes
  • Variable capture and effectively final

Lambda Expressions & Method References (6 topics)

  • What is a lambda expression
  • Lambda use case: collection filter
  • Lambda syntax
  • What is a method reference
  • Method reference use case: collection sort
  • Method reference types x 4

Functional Programming (7 topics)

  • What is functional programming
  • Functions as first class objects
  • Pure functions
  • Higher order functions
  • Immutable objects
  • Java's functional interfaces
  • Functional composition

Streams (8 topics)

  • What is a stream
  • Obtaining/creating a stream
  • Intermediate (non-terminal) operations
  • Terminal operations
  • The Optional class
  • The Collectors class
  • Stream concatenation
  • Primitive streams

Concurrency (9 topics)

  • Low-level threading incl. Runnable, sleep, join
  • The Java memory model
  • Threading problems incl. race conditions, deadlock, and starvation
  • Immutable objects and ThreadLocal
  • Thread synchronization incl. volatile, synchronized, atomic data types, and locks
  • ExecutorService, thread pools, Callable, and Future
  • The fork join framework
  • Concurrent and immutable collections
  • Parallel streams

Asynchronous & Reactive Programming (17 topics)

  • Asynchronous vs. concurrent programming
  • CompletableFuture
  • Executing tasks asynchronously
  • Chaining tasks (synchronously or asynchronously)
  • Specifying callbacks
  • Combining futures
  • Exception handling
  • What is reactive programming?
  • A note about the Flow API
  • RxJavai>
  • Creating and subscribing to an observable
  • Transformaing, filtering, and combining observables
  • Applying back pressure
  • Other observable operators
  • Singles
  • Subjects
  • Schedulers

Non-Blocking IO (7 topics)

  • What is non-blocking IO?
  • Channels and buffers
  • Scatter/gather
  • Channel-to-channel transfer
  • Selectors
  • FileChannel
  • Pipes

Networking (4 topics)

  • Reading from and writing to a URL
  • Reading from and writing to a socket
  • Multithreaded ServerSocket
  • Non-blocking ServerSocket

Annotations (4 topics)

  • What is an annotation?
  • Form and application
  • Standard annotations
  • Declaring an annotation

Reflection (7 topics)

  • What is reflection?
  • Modules, classes, constructors, fields, and methods
  • Private members
  • Annotations
  • Generics and arrays
  • Dynamic proxies
  • Dynamic class loading

Prerequisites

Delegates attending this course should be Java developers with a good grasp of the fundamentals. This knowledge can be obtained by attendance on the pre-requisite Java Developer course. Developers familiar with another similar OO language may be suitable candidates but should carefully examine the objectives listed in the prerequisite Java Developer course.

Additional Learning

The courses below may help you meet the knowledge level required to take this course.

  • Java Developer

    This 5-day course provides the skills required to build object-oriented apps using Java that exploit all of the fundamental elements of the language.

    5 Day Course Hands On Training Course Code JAVADEV
    Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Scheduled Dates

Please select from the dates below to make an enquiry or booking.

Pricing

Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price May Jun Jul Aug Sep Oct
Later scheduled dates may be available for this course.

Course PDF

Print

Share this Course

Share

Recommend this Course

Sections