Rong, Just some further questions related to the previous email.
1. We are also using Hibernate + Spring + DAO for our project. I have used this architecture extensively over the past couple of years but never on an archetypal domain model. Can you provide some guidelines as how you mapped data containers (i.e. Lists, Sets) with polymorphic entries. For instance the Party object in the demographics package has an ItemStructure, which can be hierarchical and can contain any object of type Item (ItemList, SingleItem etc). How did you may that to a relational model? 2. Can you provide any feedback on using archetypes and RDBMS with respect to querying. I suspect that with such a model you will probably need to use stored procedures to take advantage of the RDBMS's query engine. Either that or do a lot of query processing in-memory. Is that your experience. 3. I read somewhere about templates and using them for the presentation layer. Can you direct me to further information on templates? These are the areas that we still need to resolve to get comfortable moving forward. We would be more than happy to contribute changes, bug fixes and documentation back to the openehr java kernel project. cheers </jima> - If you have any questions about using this list, please send a message to d.lloyd at openehr.org

