In this video, Nick Maiorano discusses the three major improvements that JPMS brings to the Java language and platform, and how they realize the goals of modularity.
- [Voiceover] Java already has modular constructs in place.…It's certainly possible to build modular systems with Java,…but there are gaps and weaknesses that JPMS addresses.…Let's look at how three in particular…comprise modularity in Java.…The first weakness is about class accessibility.…The Java language defines four levels…of accessibility that apply…to classes, attributes, and methods.…This model hasn't changed since the very beginning of Java.…However, it's always been limited…in terms of expressing modularity beyond a single package.…
For instance, once a class is public,…there's no further way to control…which classes in other packages can see it.…Maybe you'd just like to expose it…to one specific friend package,…but that's not possible.…It's all or nothing.…The path of the class as it's stored on disk…is intertwined with the package hierarchy.…This means that how you organize your package hierarchies…must be aligned with the accessibility…that you want to assign to your class.…For example, in this class diagram,…
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.