Skip to content
프로젝트

mploed/ddd-strategic-design-spring-boot

GitHub에서 보기

소개

Spring Boot를 기반으로 도메인 주도 설계의 컨텍스트 매핑 패턴을 보여 주는 애플리케이션

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

DDD Strategic Design with Spring Boot

Application to demonstrate Domain Driven Design Context Mapping patterns based on variosu Spring Boot applications. Please bear in mind that the application itself is kept simplistic, in order to isolate the focus on the Context Mapping Patterns. This is the reason why you will find some logic in Controllers that should be placed in other classes in a real-world application or the reason why I use database IDs for a general purpose.

Also keep in mind that some of the Context Mapping Patterns not best practices but are things that are found in existing, historically grown applications. Context Mapping is mostly a way to look at existing solutions and this code example is an existing solution that has some intentionally built in issues.

A good starting point for your analysis is the CreditApplicationController in credit-application as it implements the main workflow.

Prerequisites

  • You need a current version of Maven
  • A basic installation of Redis must be installed and running (redis-server)

How to run and install the example

There is no "one-stop" build and install script as of yet so you will have to take a few easy manual steps that you should run in this specific order:

  1. Start your redis-server
  2. Build the scoring-shared-kernel module
  3. Build the customer application
  4. Run the customer application
  5. Run mvn jaxb2:generate in credit-application while the customer application is running
  6. Run the scoring application
  7. Run the credit-agency application
  8. Run the customer-contact application
  9. Run the credit-application application
  10. Start entering data at http://localhost:9090

URLs and Ports

Each of the modules is it's own Spring Boot Application which can be accessed as follows:

Name Application / Enpoint Type Port URL
Credit Application Web App 9090 http://localhost:9090/
Customer WSDL Endpoint 9091 http://localhost:9091/ws/ or http://localhost:9091/ws/customer.wsdl for the wsdl
Credit Agency REST Endpoint 9092 http://localhost:9092/personRating
Scoring RMI Endpoint 1199 http://localhost:1199/scoringService
Customer Contact No active server endpoint, listens to Redis on the following topics: customer-created-events, credit-application-approved-events No open port No available URL for access

관련 프로젝트 살펴보기

불러오는 중…