Java Spring Questions
Java Spring Questions
Custom Application Configuration in Spring Boot by using the @Value annotation, but with this all
the configuration values will be distributed throughout the application instead use
@ConfigurationProperties by defining configuration component.
46. What are the few challenges while working Microservice Architectures?
Developing several smaller microservices sounds easy, but the challenges often faced while
developing them are Automate the Components is difficult to automate because there are several
smaller components. So, for each component we must follow the stages of Build, Deploy and,
Monitor. Debugging is difficult to find out each service for an error. It is essential to maintain
centralized logging and dashboards to debug problems.
47. What are the other challenges while working Microservice Architectures?
Other challenges are Perceptibility in maintaining many components together becomes difficult to
deploy, maintain, monitor and identify problems. It requires great perceptibility around all the
components. Configuration Management for the components across the various environments
becomes tough sometimes.