Enable or Disable Embedded Tomcat in Spring Boot Using Prof
May 27, 2025
1 min read
●
Java Code Geeks

In many Spring Boot applications, it is common to encounter different runtime environments. For instance, one mode might expose a RESTful API using an embedded Tomcat server. Another might rely purely on messaging (e.g., using JMS or Kafka) without needing any HTTP layer.