![]() The best way to explain a theory is by providing a live example to detail the problem and how it is solved. How to package this custom module application into JAR files and run them from a modular JAR fileĪnd finally, you get to explore Java 9+ strong encapsulation and accessibility tricks.How to compile and run your application from an exploded module folder. ![]() How to use a class from the exported module in a current application that resides in a different module.How to export a package in the custom module for use in other modules.In this tutorial, you will continue to explore more advanced concepts, but this time, you’ll see them in action. Now… export and run configurations and accessibility tricks You mastered the module declaration directives ( module-info.java) which broadened your understanding about how to design packages and modules, and also learned how to organize access to them and I showed you the effect modules have on existing JDK and developed APIs. ![]() We focused on the security capabilities that JPMS brought to programming and explored this new concept in detail. In Part 1 of this tutorial, you discovered the Java Platform Module System (JPMS) that was introduced in Java 9 and its two main goals: reliable configuration and strong encapsulation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |