Migrating from Java 7 to Java 8

Migrating from Java 7 to Java 8 | Transitioning to Java 8 is a two-day, hands-on fast-track course geared for developers who have prior working knowledge of earlier versions of Java. Throughout the course students learn the best practices for taking advantage of the new functional programming constructs in Java as well as other new features in this major update to the Java programming language.

Retail Price: $1,795.00

Next Date: Request Date

Course Days: 2


Request a Date

Request Custom Course


Course Objectives

Students who attend this course will leave armed with the required skills to develop maintainable code that easily scales into multi-core environments. Geared for developers currently working in Java 6 or 7 who need to migrate their skills or applications to Java 8, this course will teach students everything they need to successfully master and implement the latest features and benefits of Java 8 and become an effective Java 8 developer. 

Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will learn:

  • What functional programming means and what it brings to the table
  • How Lambda expressions and functional interfaces can greatly enhance other aspects of Java
  • Explore the new ‘features’ of the Collection API
  • To use the new Stream constructs to work with Collections and Collectors
  • How to work with default methods and pass methods as arguments
  • How to use the new features to support concurrency in multi-code systems
  • To work with the new Date/Time API and other new features
  • Specific Java 8 features covered include: Functional programming; Anonymous functions; Lambda expressions and default methods; Streams and Collectors; New Date/Time API; StringJoiner and repeating annotations

 

Course Prerequisites

This is an introductory and beyond-level Java course, designed for experienced Java developers who wish to get up and running with Java 8.  Attendees should have a working knowledge of developing Java applications.  

Follow-On Courses / Take After: Our core Java training courses provide students with a solid foundation for continued learning based on role, goals, or their areas of specialty.  Our Java developer learning paths offer a wide variety of follow-on courses such as:

  • Continued Java & JEE training: Intermediate to Advanced Java, JEE Essentials, Java for Web, Spring / Spring Boot, Microservices / Web Services / REST, Reactive Java Programming / RxJava, Tuning & Performance, Design Patterns & More
  • TDD / Test Driven Development, JUnit / Unit Testing, Agile development training
  • Secure Java Coding / Java Security and secure application development training
  • Mobile developer / Android training

Course Agenda

 

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We will work with you to tune this course and level of coverage to target the skills you need most.

Session: Introduction to Java 8

Lesson: Overview of Java 8 Features

  • Overview of Java 8 features and enhancements
  • Anonymous functions, Streams

Lesson: Evolving Interfaces

  • Interfaces in Java 8
  • Default methods
  • Static methods
  • Multiple Inheritance?

Session: Introduction to Lambda Expressions

Lesson: Functional Programming

  • Functional vs OO Programming
  • Anonymous Inner-classes
  • Utility Methods
  • Lambda Expressions

Lesson: Lambda Expressions and Functional Interface

  • Lambda Expression Syntax
  • Functional Interfaces
  • Type Inference in Java 8
  • Method references

Session: Collection Updates

Lesson: Java 8 Collection Updates

  • Introduce the ConcurrentHashMap
  • Lambda expressions and Collections

Session: Streams

Lesson: Streams

  • Processing Collections of data
  • The Stream interface
  • Reduction and Parallelism
  • Filtering collection data
  • Sorting Collection data
  • Map collection data
  • Find elements in Stream
  • Numeric Streams
  • Create infinite Streams
  • Sources for using Streams

Lesson: Collectors

  • Creating Collections from a Stream
  • Group elements in the Stream
  • Multi-level grouping of elements
  • Partitioning Streams

Session: Additional Java 8 Enhancements

Lesson: The new Date/Time API

  • Introduce the new Date/Time API
  • LocalDate, LocalDateTime, etc.
  • Formatting Dates
  • Working with time zones
  • Manipulate date/time values

Lesson: Optional

  • Introduce Optional
  • Implement Optional attributes
  • Lambda expressions and Optional

Lesson: Other new Java 8 features

  • StringJoiner
  • Repeating and Type Annotations
  • Parallel Array Sorting
  • Improved type inference
  • Method parameter reflection
  • Updated command line tooling

Lesson: Java 8 Concurrency Updates

  • The common thread pool
  • Atomic variables
  • LongAdder and LongAccumulator
  • CompletableFuture
  • Non-blocking asynchronous tasks

Lesson: Nashorn JavaScript Engine (Optional)

  • Working with JavaScript and Java
  • Accessing Nashorn
  • Executing JavaScript from Java
  • Executing Java from JavaScript
  • Implementing a Java Interface
  • Alternatives to Nashorn


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date