In this video, Nick Maiorano discusses how transitive dependencies can be used to simplify dependency relationships between three or more modules, and how this makes modules easier to maintain.
- [Narrator] Red30tech's modular design…so far has been simple and clean.…But real life modularity is often messier than that.…JPMS needs to handle these complexities.…The modular design has been clean…because the Rim and RubberTire classes…are only accessible by the wheel.…And the axle manages the movement…of the car completely through the wheel.…Let's see how well this model holds…when new components are added.…I'll be adding a chassis module,…which depends upon the axle.…
For cars, chassis are platforms…upon which many car parts are connected…and can communicate with each other.…I'll also be making a few changes to the design.…The axle class will now have direct access…to RubberTire so that it can measure its tire pressure.…Chassis will also need to access the tire pressure…so that it can raise an alarm on the dashboard…if the tire pressure is below a safe level.…I'm going to be using the exercise files under 03_03.…
The module-info class will now need to be updated…to make rubber tire visible to foreign modules.…
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.