In this video, Nick Maiorano shows how applications can be constructed from modularized and unmodularized classes, and can interact with each other at runtime.
- [Narrator] Java 9 is backward compatible…for the most part.…This means you'll be able to take your Java 8 code,…compile and run it using the Java 9 compiler.…But cohabitating modularized with unmodularized code…will require special attention.…JPMS introduces a number of new concepts and tools…to help the transition.…Let's start with a very simple tool you can use.…Jdeprscan is a static analysis tool…that scans code for uses of deprecated API elements.…
You can run this tool to show every method…in the standard JDK libraries that have been deprecated…or slated for removal.…I'll be using exercise file four six part one.…First, I'll build the application.…Note that this application doesn't use module…and it will be compiled through the classes directory.…Next I'll be using the command line tool Jdeprscan…and it can be found in the Java home bin directory…of the Java installation.…
Make sure it's part of your path variable.…I'll be using script scan JDK libs,…which we'll call Jdeprscan list release.…This will list all JDK class methods and attributes…
In this course, instructor Nick Maiorano breaks down this complexity by explaining what modularity is all about, how Java has adopted modularity and how to start using to build better quality applications.
- What is modularity?
- The five pillars of modularity
- Modularity in the real world
- JPMS concepts and syntax
- Designing and implementing a modular structure
- Compiling, packaging and running modular applications
- Using the dependency checking tools
- Creating custom runtime images
- Managing backward compatibility with classes and modules
- Explicit, unnamed, and automatic modules
- JPMS tips and recommendations
Skill Level Intermediate
Java Essential Training: Syntax and Structurewith David Gassner3h 9m Intermediate
1. Introduction to Modularity
2. Java Modularity through the Ages
3. Building Modular Applications with Java
4. Tools and Strategies
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.