Link to home
Create AccountLog in
Avatar of modsiw
modsiw

asked on

Client / server data structure

I'm developing an client/server application. (not a web application, there is no html / web browser, etc involved)

1) user goes into a section of the application triggering a massive download.
2) user makes changes to the information
3) user saves changes back to server

Is there any existing architecture that can accomplish the following:
OO to relational mapping.
Exclusive write locks to certain section of data per user/session
Only saves changed data back to the server
Compresses/decompresses data before sending / after receiving the data.
Provides classes to access data on the client through generation or reflection
100% java

ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of modsiw
modsiw

ASKER

Woops sorry,

On the server end, the data is backed by a relational DB.


Perhaps this will help.

There is relational data on the server DB. I'd like to load this into an OO client data structure for manipulation. Once done, I'd like to save it back to the relational db.

I have to ensure I don't break any rules along the way (Primary / Foreign keys on the db etc), saves are atomic, and that parts of the data are locked so that only one person can manipulate them at a time.
Well the O/R mapping is fairly simple. Plenty of frameworks around, of which the main one is Hibernate currently. You need (i think) to configure it for remote access
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of modsiw

ASKER

Can either of you recommend a book / other resource for learning hibernate & spring?