part actually does the magic. The static block in SQLServerDriver Class calls DriverManager Class' static method register and registers itself.
Say 5 such classes registered themselves separately to the DriverManager; then depending on the getConnection() method's URL Parameter : that specific Driver Class is called by the DriverManager.
Actually a Driver class might trick the DriverManager and can handle the connections to other RDBMS's also. But it must have written the logic to talk to that specific DB of course. [ August 04, 2005: Message edited by: Yilmaz Mete ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com