Hi,
we are thinking of using Qi4j  in our project (again :)), but  it is more
like integration project uses existing data storage. I wander if someone has
tried (or thought about trying) Qi4j in similar settings:
to the main system there is access through Web Services, there is CRUD
access to data store (more or less per table in relational db) plus services
triggering workflows that can perform operations on the data. We need to
model domain and implement a set of use cases on our side. We have some
limited influence on data model.
We have thought of several aproaches:
1. replicating data store on our side through event sourcing, but due to
database size (system is collecting up to 500GB data per day) it is probable
not feasible (there are also security issues).
2. to have Qi4j-ish data store on our side but use it as a cache, it is a
bit difficult as there are other systems changing the data as well, so the
data can be invalid very quickly.
3. develop custom Qi4j data store that maps entities to existing database
schema and then use only transient mixins (ones that does not need to
persist state) or use separate (possible local) storage for additional
mixins state.
4. develop domain model without Qi4j and use only some features of Qi4j,
like data validation, or simplified AOP.

I would be gratefull if anyone could share his or her experience or ideas

Jacek
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to