I'm new to java development, and was happy to see how much easier the database implementation was when it comes to supporting several platforms, compared to the php environment I'm used to.
There is, however, one thing I'm confused about - I read everywhere I have to do a runtime-include of the database driver I want to use, ie:
Class.forName(com.example.jdbc.Driver).newInstance();
However, omitting this seems to work fine too - so my question is, does jdbc find the driver, given the server url, automagically? And if so, why is this line included in all the tutorials i read on the subject?
Also - if anyone's got any good tips for online java learning resources (enterprise development in particular), please share!