This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Spring Boot for bootstrapping a component of a larger application

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

My application comprises a number of modules (web, business tier, data tier and so forth). In each such partition I have multiple components.
Distinct groups work on these components independently.

Could Spring Boot be used to bootstrap a component (say, a web service) alone, as opposed to the whole application?

Regards,

/Kobe
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course. In fact, this is essentially the same story as developing microservice-based applications using Spring Boot and Spring Cloud.

That said, how much Spring Boot can help with "bootstrapping" (see another thread from earlier in this forum on why I don't care for that term) depends on what you want to do. Spring Boot auto-configuration can do a lot of things, but it doesn't know how to do everything. If you want to auto-configure things like Spring MVC (or even Jersey), JPA, AMQP/Rabbit, etc...then Spring Boot can certainly help. If, however, you're looking for Spring Boot to help you auto-configure components for some home-grown or not-so-well-known 3rd party web services library, then you might be out of luck. That's not to say you can't use Spring Boot, as it may still help you in other ways...you just wouldn't gain much help auto-configuring anything Spring Boot doesn't support or know about.

To get a good idea of what Spring Boot auto-configuration *does* support, you might dig around in GitHub at https://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic