Java Magazine, Jan/Feb 2018
ORACLE COM JAVAMAGAZINE JANUARY FEBRUARY 2018 88 beyond CRUD example in the CoffeeOrders that occurred since the very beginning As I mentioned before Im using only in memory storage without persistent snapshots For the full example application see the scalable coffee shop project on GitHub Conclusion CQRS provides a useful alternative to the traditional CRUD based way of building enterprise applications by combining the benefits of event sourcing and event driven architectures to build scalable eventually consistent systems Of course this approach is no silver bullet If the situation does not require the scalability of event driven architectures its advisable to go with monolithic consistent applications instead CQRS introduces some overhead which certainly is avoidable in most enterprise applications An application that solely requires the benefits of event sourcing can be based on this approach while still using a relational database and consistent use cases article Sebastian Daschner @ DaschnerS is a Java Champion who works as a consultant and trainer He participates in the Java Community Process JCP serving in the JSR 370 and JSR 374 Expert Groups Daschner is also a heavy user of Linux and container technologies such as Docker When not working with Java he loves to travel
You must have JavaScript enabled to view digital editions.