reedcwilson/catan — pull request #22 by reedcwilson (2014-04-09 01:53:48+00:00)
Title: Server/persistence

# Attention! --> readme

## stuff didn't jive

### changes

- The stupid intermediate objects are back! I needed these in order to be able to give the server the appropriate DAO.
- I moved all of the database and file classes into respective packages. This is to make it easier to jar them up later
- **IAccess** is gone and in its place is the class previously known as DatabaseAccess. It is now **DataAccess** and is a little more generic (this was the *magic* key to allow everything to work)
- I made some **Creator** classes to initialize objects. The initialize method is gone from the access objects. They should instead be implemented in their respective Creator class.
- I added a DataUtils object where we can put things that we are doing a lot that aren't object specific. One of the methods I added is to get rid of the boilerplate code *(below)* created when catching an exception we can't recover from (like a **SqlException**).
```
catch (SqlException ex) {
System.out.println(ex.getMessage());
ex.printStackTrace();
System.exit(1);
}
```

Please let me know what you think. If you have questions, I am anxious to answer them. Thanks.