That's just an other method of having the objects globally available.
But that can't be the best solution if you want to have it in OO-style. (Define all your objects as globals and then take what you need ...)
I mean - how do Java-Programmers solve that problem? I cannot imagine that they don't have more than one class in a project, which needs access to a database or an output layer.
Java-Coders - please HELP ME !! 😉