Hi,

I am currently working on a personal project where I try to apply the
principles of DDD. I am reading Dan's book "Domain Driven Design using
Naked Objects", trying to adapt the examples to the Isis Framework. During
my work I found some problems that I need to be clarified:
1. The Value-Object pattern seems not to work as in the documentation. It
says that you need only to annotate your class with @Value and to implement
the interface ValueSemanticsProvider. But it worked only if I annotated the
field with @javax.jdo.annotations.Persistent and the getter with
@org.apache.isis.applib.annotation.NotPersisted. I didn't find any example,
neither in the SimpleObject nor in ToDoApp. Did I do anything wrong or can
I find an example anywhere?

2. The aggregates seem not to work (from what I read, it is supported only
for NoSQL). I read also on the site that it istn't fully supported and its
use is currently discouraged. What does it mean? Is rather recommended to
use the Value Types or there is another alternative?

3. I would like to know, also, if it is possible to completely eliminate
the JDO for storage. Firstly I want to use a fully in-memory storage,
without any database (does the DomainObjectContainer support anything like
that?) and afterwards something else.

Thank you,
Alex

Reply via email to