File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
cqrs/src/main/java/com/iluwatar/cqrs/app Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 38
38
39
39
/**
40
40
* CQRS : Command Query Responsibility Segregation. A pattern used to separate query services from commands or writes
41
- * services.
41
+ * services. The pattern is very simple but it has many consequences. For example, it can be used to tackle down a
42
+ * complex domain, or to use other architectures that were hard to implement with the classical way.
43
+ *
44
+ * This implementation is an example of managing books and authors in a library. The persistence of books and authors is
45
+ * done according to the CQRS architecture. A command side that deals with a data model to persist(insert,update,delete)
46
+ * objects to a database. And a query side that uses native queries to get data from the database and return objects as
47
+ * DTOs (Data transfer Objects).
42
48
*
43
49
*/
44
50
public class App {
You can’t perform that action at this time.
0 commit comments