Questions tagged [spring-boot]
The spring-boot tag has no usage guidance.
25
questions with no upvoted or accepted answers
2
votes
0
answers
305
views
Send push notifications from ActiveMQ
I am trying to figure out how to send push notifications back to the client in the following ActiveMQ scenario:
I have a spring boot web application #1 deployed on tomcat on RHEL server. From the ...
1
vote
0
answers
110
views
Reusable module using spring framework with spring-boot application modules?
I have a maven module which will handle DB interactions for various scenarios. I want this module to use spring framework so we can leverage the standard DI and integration test capabilities. This ...
1
vote
0
answers
80
views
Multitenancy - Multischema DB and should we handle by individual microservice basis?
I am looking into the revamping my organization's application by moving from a monolithic into a microservice-architecture. My database is a multi-schema shared in one database. Each of these schemas ...
1
vote
0
answers
29
views
Spring Security SAML and RSA session
This is probably a design/architectural question.
My app uses RSA initiated SSO using SAML for authentication and from there on my app uses its own session to manage the request. There is a flaw in ...
1
vote
0
answers
659
views
Design of Spring boot endpoint that returns large amount of data continously until complete
I'm developing a web application using Spring Boot and React, that needs to return information about hotels from different cities:
As an input of the controller, I receive a list of cities that can ...
1
vote
0
answers
95
views
How to build Spring Boot multimodule app build to separate WARs and shared library/dependencies?
Currently, I'm trying to migrate multimodule angular + spring 4 app build with ant and ivy to Spring Boot and build it with Gradle. The issue is that I don’t how to create build upon some custom ...
1
vote
2
answers
324
views
How to design a process and use the business rules for sending alerts/notifications
Currently working on designing a process which demands me to send alerts like email notifications to the users which meet a business criteria(we can also call business rules).
I want to make this ...
0
votes
1
answer
60
views
Designing Clean Architecture(Hexagonal) for a Spring Boot Application : Project Layout and Class Organization
I'm currently in the process of integrating Clean Architecture into my Spring Boot project and I'm seeking advice on the ideal project structure and the types of classes and projects that should be ...
0
votes
0
answers
53
views
Should we use sessions instead of bearer tokens with OpenID Connect server-side authorization code flows?
I want to build an app with a SPA (Angular) frontend and a REST API (Spring Boot) backend.
I want a modern account system for this app: users log in through OpenID Connect, using either a social login ...
0
votes
1
answer
72
views
How to write custom implementation of a service/flow for a tenant in a multi-tenant microservice system?
I have a Java Spring boot microservice in production which supports multi-tenancy and the tenants are isolated at database level. This microservice exposes REST APIs for communication. During a ...
0
votes
0
answers
145
views
What is the Best Practice for handling multiple Entities that behave identically?
Because I have multiple entities with unique fields, I need multiple repositories for each one even though each Entity will be handled exactly the same. What is the best way to handle these separate ...
0
votes
0
answers
641
views
How does Spring boot and Postgres handle the concurrent updates?
I want to understand how does Spring Boot and Postgresql DB handle the concurrent requests for updating a value in DB. Consider this example of facebook likes, if there are multiple instances of ...
0
votes
0
answers
339
views
Spring Boot: Best approach for aggregating DTOs over multiple services
I have the following situation in my spring boot application:
I use unidirectional relationship modelling for my database entities, in order to prevent difficulties with a bidirectional approach. (...
0
votes
0
answers
104
views
Design : How to divide the responsibility in micro services
I have two micro services built using spring boot,
One micro service is: "payment" Which handles actions related to payments.
Like creating a payment link.
Getting the latest status of ...
0
votes
0
answers
506
views
Spring boot, n-tier layer structure naming conventions
I am currently developing a huge project in my company with N-Tier Layer architecture using spring boot but I can not sure about the package and class namings. In our project, we have a complex ...
0
votes
0
answers
150
views
oauth2 + angular - Most elegant way to pass the JWT auth token
I have an angular application, which is querying an API as a client (written on Spring Boot 2.2.1 + Spring 5.2.1) that supports 3rd party authentication over OAuth2. The API has altogether 3 different ...
0
votes
0
answers
291
views
How can I create a spring-boot application which can be easily extended with plugins?
I am planning a spring boot application that can be extended with plugins. However, I haven't found out yet whether spring boot meets my requirements in this regard.
I imagine the following folder ...
-1
votes
0
answers
29
views
Spring Reactive Restful APIs - Is it really a non-blocking model?
I know that is possible to build my entire Spring boot application in reactive way.
So if my application uses R2DBC, I can do something like:
@Repository
public interface PersonRepository extends ...
-1
votes
1
answer
418
views
How to design my API that interacts with a third party API and persists to a database
I'm building a web app that will integrate with the Etsy REST API and persist information in a database for things like order information, listings, etc. Essentially a panel to manage Etsy orders and ...
-1
votes
1
answer
830
views
building a frontend for a microservice backend: architectures? (spring boot stack)
to summarize a bit my current situation: I am building a backend based on microservices using spring boot.
These are aggregated behind an api-gateway.
My intention is to consume these api's from both ...
-1
votes
1
answer
351
views
DDD persistence through non-orm tools in java
So our domain model drove our database and ORMs worked for DDD implementations.
Now the tables have been altered a lot and as a consequence ORM impedence is too much in our domain model to use ...
-1
votes
2
answers
938
views
How to have dependency between two different microservices?
I am implementing quora like application in which I have Post(question, answers, comments, likes/dislikes) as one microservice and User details as another microservice. I need user details in the post ...
-1
votes
1
answer
393
views
What is the recommended approach for loading a Java Keystore from memory in a SpringBoot application running in a Docker container?
I am looking for a solution to load a Java Keystore dynamically from memory instead of from a file on disk. Can you suggest any libraries or best practices for this scenario in the context of Java, ...
-2
votes
1
answer
49
views
How to Implement Spring Boot Endpoint for Confluent Cloud-Like Batch Payloads?
I'm currently working on a Spring Boot application where I need to create an endpoint similar to the one mentioned in the Confluent Cloud documentation (link).
The cURL example provided in the ...
-2
votes
1
answer
202
views
Property file, annotations or database tables for storing configurations
Which one is better property file, annotations or database tables for storing configurations related to a program? What are the advantages/disadvantages and what use cases are best suited for each ...