• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Spring Boot, Spring Roo, Spring Framework

 
Ranch Hand
Posts: 90
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I see in the table of contents for Spring in Action that there is a chapter on Spring Boot. Reading a little about Spring Boot on the project page, I thought that perhaps Spring Roo was renamed to Spring Boot, but it appears that Spring Roo is a separate project: http://projects.spring.io/spring-roo/

For someone just starting out using Spring to develop web applications, which technology would you recommend for making a RESTful API service?

What are the pros and cons of Spring Boot, Spring Roo, and Spring Framework?

If I were to use Spring Boot or Spring Roo, would I be able to use other Spring components easily? In other words, is developing applications in Spring Boot or Spring Roo easier because they are pared-down?

Daniel
 
author
Posts: 396
8
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

First, whether you use Spring Boot or Spring Roo, the reality is you're using Spring. So to answer your question of whether you'd be able to use other Spring Framework components...yes, absolutely. Again, Spring Boot *is* Spring. Spring Roo *is* Spring. They're just different approaches to simplifying Spring development.

Now, choosing between Spring Boot and Spring Roo. I was once a fan of Spring Roo, but Spring Boot outshines it in so many ways. Spring Roo was big on code generation and used aspects to perform some of its magic. It also forced you into a design model that you may or may not feel comfortable with. Spring Boot, on the other hand, uses no code generation and does not force any particular design choice. It is primarily autoconfiguration saving you from having to write a lot of common configuration yourself

In short...Go with Spring Boot. You won't regret it.



Daniel Trebbien wrote:Hi,

I see in the table of contents for Spring in Action that there is a chapter on Spring Boot. Reading a little about Spring Boot on the project page, I thought that perhaps Spring Roo was renamed to Spring Boot, but it appears that Spring Roo is a separate project: http://projects.spring.io/spring-roo/

For someone just starting out using Spring to develop web applications, which technology would you recommend for making a RESTful API service?

What are the pros and cons of Spring Boot, Spring Roo, and Spring Framework?

If I were to use Spring Boot or Spring Roo, would I be able to use other Spring components easily? In other words, is developing applications in Spring Boot or Spring Roo easier because they are pared-down?

Daniel

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring Boot. I reccomend it most. No need to write classes of configuration. All needed just a two rows script to run the app and a properties / yml file (your choose) which is where you define the basic conf of your app such as driver of the database, path url, user, password.
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maria Stevany wrote:Spring Boot. I reccomend it most. No need to write classes of configuration. All needed just a two rows script to run the app and a properties / yml file (your choose) which is where you define the basic conf of your app such as driver of the database, path url, user, password.



Actually now you only need one



http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/api/org/springframework/boot/autoconfigure/SpringBootApplication.html
 
pie. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!