Depends how you want to do it. If you are using the DriverManager, you just need to load the driver class and call DriverManager.getConnection(<url> ) . If you are using a DataSource, you just call DataSource.getConnection().
Read you driver documentation. I can't think of one which doesn't come with an example. [ June 13, 2005: Message edited by: Paul Sturrock ]