How simplyi/springmvc-ws works
Main Components
• Web Service / Controller Layer – Located in packages like …ws/ui/contoller (note the “contoller” typo in the folder name) and …ws/ui/model. This layer handles HTTP requests (for example, AuthenticationController, UserController) and returns responses.
• Service Layer – Found in …ws/service (and its impl subpackage). This is where the business logic is implemented (see UserService, AddressService, and their corresponding implementations).
• Data Access (Repository) Layer – Under …ws/io/entity and …ws/io/repository, this layer represents the persistence model and communicates with the underlying database (note the repositories for User, Address, and PasswordResetToken).
• Exception Handling and Shared Utilities – The “exceptions” package with custom exception classes (AppExceptionsHandler, UserServiceException) and shared utility classes (Utils, AmazonSES) that might interact with external services.
• Security Components – The dedicated “security” package holds configurations, filters (AuthenticationFilter, AuthorizationFilter), and constants that enforce security measures.
• Configuration and API Documentation – The presence of SwaggerConfig and WebConfig indicate built-in API documentation and web configurations.