官术网_书友最值得收藏!

Summary

In this chapter, we've created a second Java module and established inter-module dependency. We learned how to set up requires and exports in module definition files. With two modules, we are finally able to see the modularity features that attempt to solve some of the problems in code organization and management that we've discussed in Chapter 1, Introducing Java 9 Modularity.

Now that we have a basic understanding of how to create Java 9 modules and use them in other modules, let's focus our attention to the platform itself. Java 9 not only comes with the module system that's meant for developers to use in order to create modules, it also comes with a completely revamped JRE and JDK that are themselves modularized. In the next chapter, you'll learn about the modularization of the platform, how it affects developers, and how it is, in a way, essential for bringing in modularity support into the Java language.

主站蜘蛛池模板: 泽普县| 岳普湖县| 武清区| 三台县| 偃师市| 拉孜县| 汪清县| 东光县| 阳原县| 门头沟区| 盈江县| 栾川县| 滨海县| 叶城县| 浦县| 乌拉特中旗| 称多县| 甘洛县| 东光县| 丹江口市| 墨江| 马关县| 嘉荫县| 老河口市| 措美县| 偏关县| 始兴县| 区。| 连云港市| 琼结县| 延安市| 乐山市| 武山县| 吉安市| 陕西省| 阿荣旗| 绥滨县| 长岛县| 民乐县| 霍州市| 尤溪县|