On 2009-11-23 17.41, philippe van dyck wrote:
I look forward to browse the source code of the StreamFlow Project!
Me too :-) We just need to decide on license and other things before we can release it.
Can I ask you how you store a "date" ?
Well, we're using the JDBM EntityStore, which stores all properties of entities using JSON. So that's how it's stored.
How do you replay an event storing the current date/time ? And more specifically how do you "get" the date ? (sorry about the change of topic)
The DomainEvent object used for replay contains the date when it was generated, so all domain code that needs to work with time uses that. The event is both available for domain code when it is first created, and also during replay. Creating an event is just calling a method. So replay is also just invoking that method using reflection. Pretty straightforward.
/Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

