Java 7 SE, (Part 1 of 4): Enhancements and Concurrency

Java 7 SE, (Part 1 of 4): Enhancements and Concurrency

Biz Library
Updated Feb 04, 2020

In this course the instructor will take you through a whirlwind overview of the new packages and frameworks, features, JVM enhancements and Java language updates that are part of Java SE 7. You’ll spend some time on those language enhancements, small changes that make a big difference in our code. You’ll also be covering the concurrency utilities provided by Java SE 7, including the brand new Fork Join framework, which supports parallel processing, by taking full advantage of the multiple processors on most modern systems. You’ll also see the new ThreadLocalRandom class, which generates random numbers in multi-threaded applications without the concurrency issues seen in Java SE 6. Then you will see the new Phaser synchronization mechanism, used to ensure threads march in step together, from one phase of the application to the next.

Lesson 1:

  • Java SE 7 Overview
  • New Packages and Frameworks
  • New Features
  • Java Programming Language
  • JVM Enhancements.

Lesson 2:

  • Small Language Enhancements
  • Strings in Switch Statements
  • Demo: Switch
  • Try-Catch Enhancements
  • Demo: Try-Catch
  • Demo: Throwing Exceptions
  • Demo: Rethrown Exceptions.

Lesson 3:

  • Generic Type Inference
  • Demo: Generic Type Inference.

Lesson 4:

  • Data Type Enhancements
  • Demo: Data Type Enhancements.

Lesson 5:

  • Non-Reifiable Types
  • Varargs & Non-Reifiable Types
  • Varag Methods
  • Improved Compiler Warnings
  • Demo: Heap Pollution.

Lesson 6:

  • New Concurrent Utilities
  • New Fork/Join Framework
  • New Fork/Join Classes
  • Fork/Join Divide and Conquer
  • Demo: Fork/Join
  • Demo: Fork Output.

Lesson 7:

  • ThreadLocalRandom Class
  • Demo: ThreadLocalRandom Class.

Lesson 8:

  • Phaser Class
  • Demo: Phaser
  • Demo: Run Phaser
  • Demo: Synchronization Methods.