Next Level Java 9 Programming (Intermediate Java Programming
Learn about the advantages of Java 9 that can help them improve performance and functionality of your Java 9 applications.
Next Level Java 9 | Intermediate Java 9 Programming is a four-day, hands-on fast-track course geared for developers who have prior working knowledge of basic Java 8 or Java 9.
In this java programming course, you will learn about the advantages of Java 9 that can help them improve performance and functionality of your Java 9 applications. You will explore and learn how to leverage Modules, scale applications into multi-core environments, improve performance, and become a more effective Java 9 developer.
This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees in advanced development skills, coupling the most current, effective techniques with the soundest industry practices.
Duration
4 days/32 hours of instructionPublic Classroom Pricing
Starting at: $2395(USD)
$2993.75(CAD)
GSA Price: $1796.25
Group Rate: $2295
Private Group Pricing
Have a group of 5 or more students? Request special pricing for private group training today.
Get the full details on this course. Download the .PDF Brochure below:
Part 1: Review of What is New in Java 9
1. Overview of 'smaller' Java 9 topics
2. Java versioning
3. The JDK/JRE file structure
4. Deprecation
5. The jdeprscan tool
6. Multi-Release JAR Files
7. HTML 5 compliant JavaDoc
8. Exercise: Creating a MRJar
Part 2: Milling Project Coin
1. Changes made to the language since Java 6
2. Multi-catch
3. Using effectively final variables in try-with-resources
4. Suppressed Exceptions
5. Binary literals
6. Reserved underscore (Java 9)
7. Type inference in anonymous classes (Java 9)
8. @SafeVargs (updates in Java 9)
9. Default and static methods in interfaces (Java 8)
10. Private methods in interfaces (Java 9)
11. Exercise: Try-With-Resources
Part 3: Why JigSaw?
1. Problems with Classpath
2. Encapsulation and the public access modifier
3. Application memory footprint
4. Java 8’s compact profile
5. Using internal JDK APIs
Part 4: Introduction to the Module System
1. Introduce Project Jigsaw
2. Classpath and Encapsulation
3. The JDK internal APIs
4. Java 9 Platform modules
5. Defining application modules
6. Define module dependencies
7. Implicit dependencies
8. Implied Readability
9. Exporting packages
10. Exercise: Defining Modules
Part 5: The Module Descriptor
1. Define module requirements
2. Explain qualified exports
3. Open modules for reflection
4. Use ServiceLoader
5. The provides and uses keywords
6. Exercise: Modules and the ServiceLoader
7. Exercise: Using Reflection on modules
Part 6: Working with Modules
1. Being backwards compatible
2. The ModulePath and ClassPath
3. Unnamed Modules
4. Automatic Modules
5. The JLink tool
6. Exercise: Migrating to modules
Part 7: JShell
1. Introduction to JShell
2. Running Expressions in JShell
3. Importing packages
4. Defining methods and types
5. Using the JShell editor
6. Save and loading state
7. Exercise: Working with JShell
Part 8: Other New Java 9 Features
1. Enhancements on the Optional class
2. Improvements made in the Process API
3. The Stack-Walking API
4. The HTTP2 Client
5. The Multi-Resolution API
6. Exercise: Working with Native processes
7. Exercise: HTTP Clients
Part 9: Performance Optimizations
1. Performance in Java 9
2. Compact Strings
3. String deduplication
4. Ahead-Of-Time Compilation
5. Hotspot Diagnostic commands
6. The G1 Garbage collector
7. Variable and Method Handles
Part 10: Memory Management (Optional)
1. Understand memory management in Java
2. Discuss the various garbage collectors
3. Garbage-First (G1) Garbage Collector
Part 11: Multithreading
1. Principles of Multithreading
2. Creating a Threaded Class
3. Basic Features of the Thread Class
4. Thread Scheduling
5. Thread Synchronization
6. Exercise: Simple Thread Class
7. Exercise: Simple Runnable Class
Part 12: Concurrent Java
1. Concurrent Locks are Explicit and Flexible
2. Executor Interfaces Provide Thread Management
3. Challenges for Concurrent Use of Collections
4. Concurrent Collections
5. Atomic Variables Avoid Synchronization
6. Exercise: Working with Concurrent Java
7. Exercise: Sleeping Threads
8. Exercise: Safe Data Access
9. Exercise: Producer/Consumer
Part 13: Java 8 Concurrency Updates
1. The common thread pool
2. Atomic variables
3. LongAdder and LongAccumulator
4. CompletableFuture
5. Non-blocking asynchronous tasks
6. Exercise: CompletableFuture
Part 14: Introspection and Reflection
1. Reflection classes
2. Introspection
3. Dynamic invocation of methods
4. Using annotations
5. Type annotations
6. Receiver parameter
7. Exercise: Introspection and Reflection
8. Exercise: Reflection Server
Part 15: Reference Objects
1. List the kinds of object references available in Java
2. Introduce Weak, Soft and PhantomReference
3. Explain the ReferenceQueue
Part 16: Objects, Declarations, and Initializations
1. Abstraction and Responsibilities
2. Low Coupling
3. Programming principles
4. Inheritance
Part 17: Exceptions
1. Proper use of Exceptions
2. Managing state in exceptional situations
3. Checked vs. Unchecked Exceptions
Part 18: Profiling and Benchmarking
1. List and describe the two types of benchmarks
2. Describe the criteria that should be considered when constructing a benchmark plan
3. Name the three most useful targets for profiling
4. List four common tools/techniques for profiling
5. Describe two strategies for improving performance as a result of profiling data
6. List and explain the five most common problem areas for good performance with Java
Part 19: Profiling Tools
1. Use the JDK to collect runtime profiling data
2. Successfully read the profiling data generated by the JDK to detect performance bottlenecks
3. Instrument your own code to collect method execution time data
4. Exercise: Using the JVM Profiling Tools and Visual VM
Part 20: Code Optimization Techniques
1. List three potential problems with strings
2. List two ways to optimize loops
3. Describe the advantages of private and final methods
4. List two advantages of collections over vectors and hashtables
5. List 4 other code and system optimizations
6. Exercise: Code Optimizations
Part 21: Code Optimization Myths
1. Debunk several myths of Java performance tuning
2. Synchronization trade-offs
3. Setting methods to be final
4. String is not always bad
5. Revisit the fundamentals of Java code performance
6. How to detect a performance myth
Part 22: Design Optimization Techniques
1. List five ways to optimize Java program design
This is an intermediate level Java SE (JSE) developer course, designed for:
- Experienced Java 8 developers, or
- Basic-level Java 9 developers.
- Attendees should have working knowledge in developing basic Java 8 applications.
- Develop modular applications in Java
- Utilize the tooling that is provided in Java 9 to migrate, monitor and optimize applications
- Use the new JShell tool to quickly test java constructs
- Understand how the implementation of the String class has been updated to decrease the memory footprint
- Use the enhancements made to the Concurrency API, working with CompletableFuture instance of Thread pools