I'm looking forward to reduce the initialization time of MySQL when working on servlets. It looks like this is a hard thing to do, so I need a better solution.
Is there any preloaded way to solve this?
Something like a pool or whatever? (I don't know what I'm talking about).
User sets login parameters.
Press Login button.
MySQL initializes (5 secs!!).
User thinks service is not working.
User closes tabs.
To reduce connection time in a servlet, usually a database conenction pool is used. This will take care of initializing connections and allocating them for you.
for an example jar