Le 23 nov. 2009 à 10:31, Rickard Öberg a écrit :

> On 2009-11-23 16.56, philippe van dyck wrote:
>> Hi,
>> 
>> When you were talking about an event-based journal, an excellent idea
>> BTW, there has to be a qi4j "getDate" event, for replaying purpose.
> 
> In my own implementation of this in the StreamFlow project, each event has 
> the timstamp embedded from when it was generated, which allows replay to use 
> it directly, i.e. there's no need for a separate time service from the point 
> of view of the domain model
> 

I look forward to browse the source code of the StreamFlow Project! 
Can I ask you how you store a "date" ? 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)

>> So whenever it happens, a qi4j "Time&Date" system service looks
>> handy. Also, If you seriously use duration and time formatting,
>> joda-time is 'the' rock-solid solution (I agree with Paul, it belongs
>> next to the standard logging jars, in my basic maven stack).
> 
> Alright, so it seems to make sense to replace the regular (broken) Date with 
> this then. Thanks for your feedback!
> 
> /Rickard
> 
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev


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

Reply via email to