Migrating to Java 8

 

Migrating to Java 8 – 1 Day

Also available in migrating from versions 5 and 6.

 Course Description – Migrating to Java 8 Training

The Migrating to Java 8 training course shows Java-6 developers the new language features in Java 7 and Java 8 — and more importantly illustrates best programming practices as they’ve been affected by these new features. This is an accelerated course that assumes long experience with earlier versions of Java. Students will leave familiar with various new bits of syntax, and also with an understanding of the exciting new options they have for API design and general-purpose Java 8 coding.

What You Will Learn

  • Take advantage of Java-7 features including strings in switch/case and auto-selection of type parameters for generics.
  • Use “try-with-resources” for simpler cleanup.
  • Use Java as a functional language, making appropriate choices of tools including inner classes, functional interfaces, method references, and lambda expressions.
  • Use the Stream API for efficient processing of data sets.
  • Use the Time API to manage local dates and times effectively.

Prerequisites

Solid experience with Java programming at the Java-5 or Java-6 level is essential.

Outline

Module 1. New Features in Java 7

Chapter 1. New features in Java 7

  • Binary Literals
  • Integer Literals with Underscores
  • String Types in switch/case
  • Auto-Detection of Type Parameters
  • Try-with-Resources
  • Multiple Exceptions in catch

Module 2. New Features in Java 8

Chapter 1. Functional Programming

  • Passing Behavior as a Parameter
  • Inner Classes
  • Functional Interfaces
  • Built-In Functional Interfaces
  • Lambda Expressions
  • Scope and Visibility
  • Deferred Execution
  • Method References
  • Creational Methods
  • Designing for Functional Programming
  • Default Methods

Chapter 2. Streams

  • The Stream Processing Model
  • Streams
  • Relationship to Collections
  • Advantages and Disadvantages
  • Iterating, Filtering, and Mapping
  • Primitive-Type Streams
  • Aggregate Functions and Statistics
  • Sorting
  • Generating, Limiting, and Reducing
  • Finding and Matching
  • Grouping
  • Flattening and Traversing
  • Sequential vs. Parallel Processing

Chapter 3. The Time API

  • 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
 System Requirements
Hardware Requirements (Minimum)Core i5, 1.8 GHz, 4 gig RAM, 500 meg disk space.
Hardware Requirements (Recommended)Core i5, 2.8 GHz, 8 gig RAM, 500 meg disk space.
Operating SystemTested on Windows 7/8, Mac OS 10.5.2.
Network and SecurityLimited privileges required
Software RequirementsAll free downloadable tools.

Other Courses to Explore

Advanced Java Programing – Onsite, Custom, Lowest Price

Design Patterns in Java – Onsite, Custom, Lowest Price

Advanced Java Programing – Onsite, Custom, Lowest Price

java training
Java training

 

 MindIQ.com

Print Friendly, PDF & Email