| From | Sent On | Attachments |
|---|---|---|
| Luca Masini | Aug 10, 2005 12:23 am | |
| Abhishek | Aug 10, 2005 6:29 am | |
| Luca Masini | Aug 18, 2005 11:47 pm | |
| Luca Masini | Aug 19, 2005 5:33 am | |
| Abhishek | Aug 19, 2005 12:19 pm | |
| Abhishek | Aug 19, 2005 12:28 pm | |
| Luca Masini | Aug 19, 2005 1:11 pm | |
| Luca Masini | Aug 19, 2005 1:13 pm | |
| Abhishek | Aug 19, 2005 1:23 pm | |
| Abhishek | Aug 19, 2005 1:26 pm | |
| Abhishek | Aug 19, 2005 1:28 pm | |
| Costin Leau | Sep 6, 2005 2:05 am |
| Subject: | Approaching a new HibernateStore | |
|---|---|---|
| From: | Luca Masini (l.ma...@infogroup.it) | |
| Date: | Aug 10, 2005 12:23:07 am | |
| List: | net.java.dev.osworkflow.users | |
I would like to share some ideas before I start working on a new version of the Store: 1) Actually we have two stores, one that works inside Spring and one standalone. I would like to refactor and have only one store that can be used in both configurations. 2) The object model is well done, with relationship between Entry, CurrentStep and HistoryStep, but then this is not implemented in the HibernateMapping file, so I think we should fix this and navigate object starting from Entry. Told this two other considerations: a) Navigating object can be slower than queries at first, but I would like to think that in a Session bound to a request I will use OSWorkflow more than once. If not the application is so simple that should not have performance issues. b) Not regression: conceptually is the same, but then pratically navigating objects can give others results (I think that these are more accurate than query, but anyway can be different !!!!) 3) What about versioning object for optimistic locking support ? 4) I read http://jira.opensymphony.com/browse/WF-343, very interesting concepts inside but I don't think we need an interface that externalize all that for our stores. These should only USE the Sessions and never decide about transaction management. But this is an open question. Please let me know what do you think. Ciao.
-- ******************************* Ing. Luca Masini Software Engineer
Infogroup S.p.a. Via delle Panche, 140 50141 Firenze Tel. 055.436.5644 Fax. 055.436.5658 e-mail l.ma...@infogroup.it *******************************
"Ci sono 10 tipologie di persone, quelli che capiscono il binario e quelli che
non lo capiscono."





