This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Data Layers" Watch "Data Layers" New topic
Author

Data Layers

M Kilby
Greenhorn

Joined: Jul 30, 2008
Posts: 7
Hi,

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?

Regards,
Mark.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Data Layers
 
Similar Threads
JPA: pessimistic locking etc.
Layer vs Tier - JAA book
Learning android -- tips?
SOA-izing java app components
Multipage HTML Forms