What you show isn't really two different ways to load a driver. I suggest that you visit
this JDBC tutorial for pointers to get started.
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!