- Modular Programming in Java 9
- Koushik Kothagal
- 199字
- 2021-07-02 18:38:18
Summary
In this chapter, we looked, at a high level, at some limitations of the traditional way of building reusable components in Java using JAR files. We saw how packaging libraries in JAR files doesn't allow developers to encapsulate inner APIs and types. There's also no way to reliably figure out whether a given application has all the necessary classes in the classpath. We learned how these problems that developers face in their code are not only present in the JDK code base itself, but are actually an issue on a much bigger scale. We understood the Java Platform Module System and the two primary goals that it set to achieve--strong encapsulation and reliable configuration. We learned about Project Jigsaw and the effort to modularize the core JDK using the same modular paradigm that's available to developers to use in their code.
At this time, you are probably wondering how the concept of modularity manifests in the Java language. What does a Java module look like?
In the next chapter, we'll answer these questions by creating our first Java 9 module, and get started on our sample application project which we'll be working on throughout this book.
- Visual C++程序設計學習筆記
- Java應用開發與實踐
- 程序員面試算法寶典
- Django Design Patterns and Best Practices
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- JavaScript動態網頁開發詳解
- 大模型RAG實戰:RAG原理、應用與系統構建
- Instant Ext.NET Application Development
- Java Web開發詳解
- Natural Language Processing with Java and LingPipe Cookbook
- Mastering C++ Multithreading
- Odoo 10 Implementation Cookbook
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- Natural Language Processing with Python Quick Start Guide
- 測試架構師修煉之道:從測試工程師到測試架構師