Design Patterns. How JDBC is Implemented in the Java Programming
Keywords:
design patterns, abstract factory, factory method, Java DataBase Connectivity (JDBC), database driversAbstract
Starting from the principles promoted by design patterns, we are going to show how working with databases is implemented in Java. We are going to see that there are two design patterns involved: the Abstract Factory design pattern and the Factory Method. The two methods solve the problem in a very elegant way; they are an example of how to respect some of the main directions that motivate the use of design patterns: “programming to an interface not to an implementation” and “when something varies encapsulate it”.Published
2007-05-24
Issue
Section
MATHEMATICS, INFORMATICS