The Factory Design Pattern

The factory design pattern is one of the original design patterns by the Gang of Four. It follows the idea of using implementation of interfaces instead of different classes, and allows you to request a object from the factory. Now design patterns are not specific to a language. You will find that sometimes these patterns…

Interchangeable Sources

As mentioned when we talked about three-tier systems, one of the key aspects is keeping elements separated so they can be updated/changed. You may have different User Interfaces, such as Web, Mobile, and even Desktop Applications, which can all co-exist because they call to load info from the business logic server (sometimes called app server)…

Java Database Connectivity

When developing a Java application which uses a database, you need to consider several things, such as are you developing the Java Application first, or the Database first? Which database are you going to use (Oracle, DB2, SQL Server, MySQL, etc) Regardless, you will need a JDBC driver for your Java application. Most likely this…