Java is an object-oriented programming language and computing platform that allows:
- Creating applications and processes on a wide range of devices.
- Running the same program on multiple operating systems.
Just like in any other object-oriented language, classes and objects are the basis of any functionality written in Java.
One functionality can be extended or reused according to the relationship between classes/objects. Therefore, the way you choose to build those relationships determines how modular, decoupled, and reusable that functionality can be.
Class/object dependency indicates the relationship between two classes/objects. This means that one class depends on another in order to function properly.
There are different ways to manage dependencies for Java projects. The most common one is to use a dependency manager. These managers allow you to install, organize, and keep all the project dependencies up to date, so that you only have to execute a command and the dependency manager will perform the necessary checks for you.
The most commonly used dependency managers for Java projects are Maven and Gradle.
Thus, as from GeneXus 18, Gradle is the tool to manage the dependencies and the build process for the Java Generator.