How ashraf20001/spring-boot-study works
Main Components Structure
a) REST API Service (01-rest-api-starting-code)
b) Basic Web Application (basicwebApp)
c) LDAP Authentication Service (ldap)
d) AOP Learning Module (learn-spring-aop)
e) Email Scheduler Service (email-schedular)
Core Components
a) REST API Service:
• Controllers Layer (HelloWorld, Todo, JWT Authentication)
• Service Layer (TodoService)
• Repository Layer (JPA Repositories)
• Security Components (JWT Configuration)
• Domain Models (Todo, User)
b) LDAP Service:
• Authentication Controller
• Security Layer (JWT + LDAP)
• User Management
• Repository Layer
c) AOP Module:
• Aspect Configurations
• Business Layer
• Data Layer
• Functional Programming Components
Interaction Flows
• HTTP request flows through controllers
• Service layer interactions
• Database operations
• Authentication flows
• AOP cross-cutting concerns
Specific Implementation Details
a) Security Flow:
• Client -> JWT Filter -> Authentication Controller -> LDAP/Security Service -> JWT Token Generation
b) REST API Flow:
• Client -> Controller -> Service Layer -> Repository -> Database
c) AOP Structure:
• Aspects -> Business Logic -> Data Access
Technical Specifications
• Spring Boot framework
• JPA/Hibernate
• JWT Authentication
• LDAP Integration
• Spring AOP
• Email Scheduling