I developed a couple of E-Commerce sites, I noticed the axonframework recently. I'm considering how to implement an new E-Commerce site with axonframework.
I mean to use standard repositories to persist aggregates(in our case, they are orders) simply, but we also need the order history for review purpose. I wonder if we can use event Sourcing repositories to persist all event on an order to implement order history or not.
Questions:
- Can I use both standard repositories and event Sourcing repositories in axonframework?
- If I can use both standard repositories and event Sourcing repositories, how axonframework load an aggregate by identifier, is it done by standard repository or event Sourcing repository?
- Any suggest is appreciated.
Thanks in advance.