In this video, Nick Maiorano demonstrates how optional dependencies can be used to make applications composable with different components that may or may not be available at runtime.
- [Instructor] Module dependencies are enforced at run-time.…This means that applications fail if they can't resolve…all of their dependencies,…and that's exactly what jpms strives to achieve…as part of its reliable configuration.…But sometimes, it can be useful to have dependencies…that aren't enforced.…Unenforced dependencies are optional dependencies.…In jpms, optional dependencies are those that are…mandatory at compilation-time,…but optional at run-time.…
How can a class be mandatory at compilation-time,…but not at run-time?…This is best answered with an example using the…red 30 tech dependency graph.…Some countries in the world…have mandatory airbag regulations while others don't.…Red 30 tech can offer airbags as an option.…This means that the car must be designed to run with…or without airbags.…Its dashboard meters need to interact with the airbags…to test that they are proper working order.…
But in countries where airbags…are optional and not installed,…those meters would have to display a no airbag symbol.…
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
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.