> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/dev-guide/developer-guide-en/pjt-prepare/architecture-guide/application-configuration-design.md).

# Application Configuration Design

## Application Project

<figure><img src="https://200425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEZx3rsZsIv89GPS3d2J%2Fuploads%2FeA7qXHTjok7NYQCYTq41%2F013-application-v2.png?alt=media&#x26;token=2bfc5d49-861f-47b3-8836-ef522f296d3e" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="191.77783203125"></th><th></th></tr></thead><tbody><tr><td><strong>Resource Configuration</strong></td><td><strong>Information</strong></td></tr><tr><td><strong>x2bee-common</strong></td><td>- Framework-related modules commonly used across Java projects; provides functionality not available in Spring Boot's default configuration<br>- jar module</td></tr><tr><td><strong>x2bee-api</strong></td><td>- Service providing REST APIs<br>- Spring Boot, REST API<br>- x2bee-api-member: Member and login service<br>- x2bee-api-order: Order and claim processing service<br>- x2bee-api-goods: Product service<br>- x2bee-api-display: Display service<br>- x2bee-api-event: Event service<br>- x2bee-api-common: User, partner, and system common service</td></tr><tr><td><strong>x2bee-gw</strong></td><td>- Front API Gateway, user authentication service<br>- Spring Boot, Spring Cloud Gateway</td></tr><tr><td><strong>x2bee-bo</strong></td><td>- Screen service for administrators<br>- Spring Boot, Next.js</td></tr><tr><td><strong>x2bee-cc</strong></td><td>- Screen service for the customer center<br>- Spring Boot, Next.js</td></tr><tr><td><strong>x2bee-batch-mbod</strong></td><td>- Member and order (claim) batch server<br>- Spring Batch</td></tr><tr><td><strong>x2bee-batch-gddp</strong></td><td>- Product and display batch server<br>- Spring Batch</td></tr></tbody></table>

## \[Customer Abbreviation]-GW

<figure><img src="https://200425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEZx3rsZsIv89GPS3d2J%2Fuploads%2FVv0Y6ecUe9degOFEGk1O%2F%E1%84%80%E1%85%A9%E1%84%80%E1%85%A2%E1%86%A8%E1%84%89%E1%85%A1%E1%84%8B%E1%85%A3%E1%86%A8%E1%84%8B%E1%85%A5-GW.png?alt=media&#x26;token=ebcaa2a2-a08c-416b-b0f6-5e0b37043ca6" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="140.666748046875"></th><th></th></tr></thead><tbody><tr><td><strong>Resource Configuration</strong></td><td><strong>Information</strong></td></tr><tr><td><strong>Node.js</strong></td><td>- Next.js Server Side Rendering server.</td></tr><tr><td><strong>FO Gateway Layer</strong></td><td>- Implemented with Spring Cloud Gateway. Provides Predicate and Filter functionality based on REST API URLs<br>- Embedded Tomcat server calls internal MSA services</td></tr></tbody></table>

## \[Customer Abbreviation]-BO, CC

<figure><img src="https://200425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEZx3rsZsIv89GPS3d2J%2Fuploads%2FDnFBSxus6JDCPFGdzKsJ%2F%E1%84%80%E1%85%A9%E1%84%80%E1%85%A2%E1%86%A8%E1%84%89%E1%85%A1%E1%84%8B%E1%85%A3%E1%86%A8%E1%84%8B%E1%85%A5-BO_CC.png?alt=media&#x26;token=d054e715-1959-43b7-937e-21e9317d812f" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="176.22216796875"></th><th></th></tr></thead><tbody><tr><td><strong>Resource Configuration</strong></td><td><strong>Information</strong></td></tr><tr><td><strong>Presentation Layer</strong></td><td>- Web service implemented using Next.js, a React.js-based framework that supports Server Side Rendering<br>- Complies with HTML5/CSS3 standards</td></tr><tr><td><strong>Controller Layer</strong></td><td>- Connects Model and View through methods mapped to URLs<br>- Handles request validation and exceptions occurring during business logic execution (error message handling logic)</td></tr><tr><td><strong>Service Layer</strong></td><td>- Composed of a single integrated service consolidating the business logic required for member/login, order/claim, product, display/search, system common, event, and other operations<br>- Performs business processing by calling the MSA Service using WebClient</td></tr><tr><td><strong>x2bee-common</strong></td><td>- Common utility functions applied site-wide, including channel management and access management, as well as multilingual services</td></tr></tbody></table>

## \[Customer Abbreviation]-Api-\*

<figure><img src="https://200425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVEZx3rsZsIv89GPS3d2J%2Fuploads%2F820DR3KfKMmCyTU9Wcx9%2F%E1%84%80%E1%85%A9%E1%84%80%E1%85%A2%E1%86%A8%E1%84%89%E1%85%A1%E1%84%8B%E1%85%A3%E1%86%A8%E1%84%8B%E1%85%A5-API.png?alt=media&#x26;token=510b11ae-ee3b-4644-be71-6d23a93636d6" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="197.333251953125"></th><th></th></tr></thead><tbody><tr><td><strong>Resource Configuration</strong></td><td><strong>Information</strong></td></tr><tr><td><strong>Presentation Layer</strong></td><td>- RESTful API service in JSON format</td></tr><tr><td><strong>Controller Layer</strong></td><td>- Connects Model and View through methods mapped to URLs<br>- Handles request validation and exceptions occurring during business logic execution (error message handling logic)</td></tr><tr><td><strong>Service Layer</strong></td><td>- Individual business services for member/login, order/claim, product, display/search, system common, and event<br>- Requests processing of the requested task from each business service domain, then returns the result to the Controller</td></tr><tr><td><strong>Data Access Layer</strong></td><td>- The area responsible for mapping between service objects and the DBMS<br>- Implements persistence processing logic<br>- Uses ReadWrite or ReadOnly connections depending on the purpose</td></tr><tr><td><strong>x2bee-common</strong></td><td>- Common utility functions applied site-wide, including channel management and access management, as well as multilingual services</td></tr></tbody></table>

###
