Modelling complex document
Hi!
I'm new to java stuff. Did it long tome ago, but a lot changed since.
My question is more architectural then coding.
I need to write app from document editing using JSP and all stuff.
Document structure is pretty complex.
Several links one-to-many.
What i like to do is implement kind a wizard, which will drive user through sequence of pages and then submit result to database. Same for edits. I would like to have some kind of functionality preventing users to lost changes when long editing is done, but another user already changed underlying data. You know that concurrency problem.
What i think to do is have time stamp column for each sensitive table and check it when necessary. Also planing to study hibernate for that project.
That would be great if somebody can share experience for such situations. How to handle such logic. If hibernate already have for such cases. Whatever.
Any info will be appreciated!
WBR
|