Jakarta EE template REST API.
- Java.
- Jakarta EE (Open Liberty).
- Gradle Kotlin DSL.
- MongoDB.
- Redis (Liberty session cache with Redisson).
- Nimbus JOSE + JWT.
- JUnit.
- Mockito.
- Lombok.
- Identity provider: Keycloak (realm
jakarta-ee-api); the application never sees a password. - Pattern: BFF; the tokens stay in the server-side session, the browser holds only a session cookie.
- Session store: Redis (Open Liberty session cache with Redisson).
- JWT: verified by a JAX-RS filter with Nimbus JOSE + JWT;
@RolesAlloweddecides access. - Details: Authentication.
- Gradle multi-module build system.
- The application has an exception handling mechanism (RFC 9457 problem details).
- The application has a logging mechanism.
- The application has a dedicated configuration file.
- The application has RBAC (Role Based Access Control).
- And many other features that can be found in the application code.
- Docker for development environment.
- PMD for static code analysis.
- SpotBugs for static code analysis.
- JSpecify for null-safety annotations.
- NullAway for null-safety checks.
- Error Prone for static code analysis.
- Spotless for code formatting.