At the moment I am reading the 'Getting started' of JavaFX. It distinguishes modular and non-modular approaches.
For example among 'JavaFX and Eclipse': 'Non-modular from IDE' and 'Modular from IDE'..
What's the difference between this terms?
What is Modularity in Java? A module is more like an independent partition of software that is communicated through an interface. Modularity explores the creation of a program by using different modules than a single legacy architecture.
A modular project is one that consists of several similar entities, or modules, which are the object of similar functions or processes applied repeatedly.
The differences can be defined in many ways, I will define it to you in one way to understand the logic behind it.
The word Modular defines that modules are integrated into the project.
When you create a JavaFX project and add a class called module-info.java
to the JavaFX project, you must add modules. Adding modules proves that the project is a modular JavaFX project.
The word Non-Modular defines that no modules are integrated into the project.
If you create a JavaFX project and do not integrate a class named module-info.java
, the project is Non-Modular because no modules are added to the JavaFX project.
The word Modular and Non-Modular has many meanings in computer science, I have defined it for you as I saw the question from my point of view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With