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
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