Future-Proofing Java Data Access - DAO Pattern Done Right

Introduction When it comes to writing software at an enterprise level, most established developers are familiar with a variety of different approaches to accessing data.  In the most common case, a database houses the data that needs to be accessed. Different techniques such as result sets and object-relational mappings have typically provided effective ways to approach data access.  With all of these different techniques, should a developers approach for exposing methods to access data change if the data source is not a database; such as a web service or a product API?  The answer is NO; it should not matter what type of data source is being accessed if the DAO pattern is being used properly.
Read More