In this video, Nick Maiorano demonstrates how to create custom run-time images which are self-contained and include both the application and the Java runtime.
- [Instructor] Jlink is a new tool…used to create custom runtime images.…A custom image is a self-contained distribution…of an application that contains everything…needed to run, including the JRE itself.…No need to pre-install the Java Runtime on the host.…The Jlink tool strips away everything…from the JDK that isn't used by the application.…And this results in a smaller…overall application distribution.…A custom image can be built using the Jlink tool.…
I'll be using exercise file 04_05.…The Jlink command will use Jmod files from the…Jmod directory of the java installation.…As well it'll add my own Jmod files.…I've also added the launcher option that…will include the main program to start.…This last step isn't necessary…but it saves me from specify the main class later.…The Jlink command will create the…Jlink application in the Jlink directory.…
Notice that a self-contained image is created.…It has everything needed to run,…including the Java Runtime itself.…There's also a script that will run…the application in the jlink/bin directory.…
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.