Java / JDBC
How does JDBC achieve loose coupling between Java program and JDBC drivers?
JDBC API enables loose coupling by using Java REfelection API. Class.forName() method is usually used to register the drivers that make sure application doesn't work directly with Drivers API. This also enables to change drivers easily when we migrate from one database to the other.
More Related questions...