cap-java
Installation
SKILL.md
CAP Java — Best Practices
Primary reference: https://cap.cloud.sap/docs/java/ Event handlers: https://cap.cloud.sap/docs/java/event-handlers/ Application services: https://cap.cloud.sap/docs/java/cqn-services/application-services Spring Boot integration: https://cap.cloud.sap/docs/java/spring-boot-integration
CAP Java uses Spring Boot as its application framework. The recommended build is cds-framework-spring-boot. We highly recommend configuring cds-framework-spring-boot as the application framework — it provides a lot of integration with CAP out of the box, as well as enhanced features such as dependency injection and auto configuration.
Version requirements (CAP Java 5.x / CDS 10)
| Component | Minimum | Recommended |
|---|---|---|
| JDK | 21 (JDK 17 dropped in CAP Java 5) | 25 (LTS) |
| Spring Boot | 4.0 | 4.1 (with Spring Security 7.0) |
| Maven | 3.9.14+ | Latest stable |