I'm always excited to take on new projects and collaborate with innovative minds.
contact@niteshsynergy.com
https://www.niteshsynergy.com/
Spring Boot:
✔️ A:
Exclude Tomcat from spring-boot-starter-web and add your preferred server like this (for Jetty):
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
✔️ A:
Spring Boot Actuator provides:
Metrics: JVM, CPU, HTTP, DB usage (/actuator/metrics)
Health Checks: Service, DB, disk, etc. (/actuator/health)
Externalized Config: Control app settings via .properties, YAML, or env vars without code changes.
Enable it with:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
And expose endpoints: