It all starts with a class that becomes an object
In Java, every object must first be described by a class. Let us briefly introduce a common theoretical scenario of a software application. Such scenarios are often divided into the following parts:
Figure 3.1 – Common application data process from a big picture
The incoming input data stream (that is, the information flow) has been accepted by an application. The application processes the input and creates the result. The result is stored and subjected to the required targeting by a system.
Such a system has the capability to satisfy several different processes under various conditions. The results are stored in several ways, such as a database or a file, or possibly embedded into an intended output stream, such as a web page, to display information to the user.
The system acts as a reservoir of the incoming information flow, processes and stores it in the database, and provides the result...