Pergunta

Can someone help me with advantages and disadvantages of using Spring Boot and CXF over original Tomcat/Jetty. Is it advisable to go for Spring Boot and CXF having embedded Tomcat/Jetty. Is it worth using it in Production environment. I'm building a SOA application. How does the performance compare in either of the cases.

Foi útil?

Solução

It depends on how dependent you are on customizations. Spring Boot applies a certain defaults (which Spring classifies as sensible) based on what dependencies you have in your classpath. If you don't have an ugly legacy project I would go for bootsrapping your project with Spring Boot.

The features I've grown to like are that:

  • it really is easier to put up a Spring-based project

  • the profile-based configuration is really easy to use

  • it brings me closer to achieving a certain level of Continuous Delivery, just think about it: if you have a web project, you don't have to worry about setting up a Tomcat/Jetty on your machine. You just run java -jar package.jar

  • the variety of starter POMS opens up some nice possibilities for integrating modern technologies

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top