Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Spring Boot for bootstrapping a component of a larger application

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
  • 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 kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic