Dude no offence but you don't have the proper java knowledge to say if something is bad or if something is better, this system is very light and buggless, random db connection like the code ur reffering about can bring the server down in minutes
DB connection means harddisk->ram->cpu on the other hand my uses ram->cpu
harddisk responds in miliseconds while cpu and ram in nanoseconds, so you make the process 1000x slower and heavier just like that.
PS: I dont want to be the smartass, but you guys have to understand that db connection is a critical process, and should be used only on GS Loading/Shutdown only, with rare exceptions