How do you choose the right level of granularity for your Java modules?
Modular programming is a software design technique that divides a large and complex system into smaller and more manageable units, called modules. Modules are self-contained and independent units of code that can be reused, tested, and maintained separately. In Java, modules can be implemented using packages, jar files, or the Java Platform Module System (JPMS) introduced in Java 9. But how do you choose the right level of granularity for your Java modules? How do you balance the benefits of modularity with the costs of complexity and coupling? In this article, we will explore some principles and practices that can help you make better decisions about your Java module design.
-
D??ng Xuan ?à??Java Software Engineer | Oracle Certified Professional
-
Bar HoshenSenior Backend dev | Platform | Development enablement | Spring boot | Cloud solutions
-
Amandeep Singh ????Top Application Architecture & Software Development Voice | SSE@Nagarro | Ex-Infosys/Amdocs | YouTube - Lazy Programmer…