modify Readme
This commit is contained in:
28
README.md
28
README.md
@@ -2,8 +2,20 @@
|
||||
|
||||
Axon Framework은 Event-Driven lightweight CQRS framework으로 Aggregate의 상태정보를 저장하는 방법과 EventSourcing을 지원한다.
|
||||
|
||||
## Axon Framework Architecture
|
||||
|
||||

|
||||
|
||||
|
||||
### Axon Framework Building Block
|
||||
|
||||
- Command
|
||||
- CommandBus
|
||||
- Event
|
||||
- EventBus
|
||||
|
||||
|
||||
|
||||
Axon framework을 이용하기 위해서는 Maven dependency를 추가하면 된다.
|
||||
```
|
||||
<dependency>
|
||||
@@ -24,3 +36,19 @@ Axon framework을 이용하기 위해서는 Maven dependency를 추가하면 된
|
||||
- spring-boot-starter-jgroups Use distributed-commandbus-jgroups with spring autoconfigure to provide jgroup "one-click" integration
|
||||
- spring-boot-starter Integrate with springboot
|
||||
- spring Provide various annotations, integrated with spring
|
||||
|
||||
|
||||
### Example 1
|
||||
첫번째 예제애서는 은행 계좌에 예금을 입출금하는 예제를 이용하여 Axon Framework의 기본적인 작동 원리를 이해한다.
|
||||
|
||||
|
||||
### Example 2
|
||||
두번째 예제에서는 JPA를 이용해서 Aggregate의 상태 정보를 저장하는 예제를 구현한다.
|
||||
JPA를 구현학 위해서 Transaction Manager를 설정하는 코드가 추가된다.
|
||||
|
||||
|
||||
### Example 3
|
||||
세변째 예제에서는 JPA에 Aggregate의 상태 정보와 Event Store에 Domain Event를 저장하는 예시이다.
|
||||
|
||||
### Example 4
|
||||
네번째 예제에서는 Command용 저장소와 Query용 저장소를 불리한 CQRS 예제를 다른다.
|
||||
|
||||
Reference in New Issue
Block a user