This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Data Layers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Data Layers" Watch "Data Layers" New topic

Data Layers

M Kilby

Joined: Jul 30, 2008
Posts: 7

I've written a couple of data layers for small apps, they're rough at the edges, but fine for the apps.

I'm looking at adding to the code with a view to scaling them, for example using transactions that will be robust across multiple databases.

Also of great interest to me is concurrent access / updates, and the sorts of defences that can be implemented. I can think of at least two further models for achieving such defences (one that holds a connection open during and one that doesn't), and want to compare my thinking against the thinking of others.

I did some searches on google, and looked through the Sun documentation for patterns. All I seem to be able to find are countless examples of data layers that deal JUST WITH RETRIEVING DATA.

To be honest they're all good and well but this helps little with the harder problems posed by administering data.

Does anyone have any good practical (i.e. with example code) sources for data layer designs / patterns?

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Data Layers
It's not a secret anymore!