Skip to main content

Questions tagged [spring-boot]

3 votes
1 answer
256 views

I'm building a web app using Spring Boot (backend) and React (frontend). My authentication is based on JWT, with both access token and refresh token. The refresh token is stored in an HTTP-only ...
Conquer the world's user avatar
1 vote
4 answers
170 views

I'm working on a Spring Boot application with a VoucherService and VoucherController. I currently have the service method return an ApiResponse<T> directly, like this: @Transactional public ...
Conquer the world's user avatar
0 votes
1 answer
222 views

I'm building a JavaFX + Spring Boot application using the MVVM pattern. I’m building a generic “wizard” in a JavaFX + Spring Boot MVVM app. A WizardViewModel drives a sequence of steps (STEP_ONE → ...
Billie's user avatar
  • 77
1 vote
2 answers
252 views

I have recently come across a few codebases at work where the previous developers chose to reach the >80% coverage criteria by writing only integration tests with the @SpringBootTest annotation ...
Mary's user avatar
  • 13
1 vote
1 answer
100 views

Situation: Order Handling in OMS System: In my OMS system, orders are pushed from an online platform with a unique orderId. Since the orderId is generated by the online platform, I cannot make it auto-...
Help out's user avatar
1 vote
0 answers
84 views

Suppose I've got a spring controller as follows: ⋮ @RestController public class MyController { ⋮ @PostMapping(value = { "publicAPI/addItem", "internalAPI/addItem" }) ...
zZz's user avatar
  • 11
2 votes
3 answers
696 views

I'm developing a Microservices Web Chat Application using Spring boot and Websockets. Right now my concern is the following: it seems like each one of my microservices need to make a lot of calls to ...
Cesar Pazol's user avatar
-3 votes
1 answer
129 views

I am new to backend REST API development. I am creating the CRUD APIs for books using spring boot. I have a model class lets say 'user'. It will have many fields, like id, name, email, status, ...
Nitish's user avatar
  • 7
3 votes
2 answers
435 views

These days I was asked by our technological leader to populate a cache. The exact nature of the request impacts a back-end (BE) system that operates on a database through a client library. The BE is a ...
Chaos's user avatar
  • 147
-2 votes
3 answers
323 views

I am building a Spring boot REST API app that is part of a microservice architecture project. What I am planning: My app listens for events from two other services and after some business logic, ...
dk tammy's user avatar
1 vote
2 answers
814 views

I'm looking for an opinion about an approach for dealing with distributed transactions. In a Spring Boot program, how can I implement the following business process without sacrificing to code ...
hjoly's user avatar
  • 21
2 votes
3 answers
1k views

I am using the Spring Boot framework to create a RESTFUL API and I need a way to avoid the duplication of validation rules when using multiple DTOs as request/response objects for my endpoints. Using ...
Marco Pierre White's user avatar
6 votes
5 answers
8k views

I'm working on adding unit/integration tests to an existing project (Java/Spring Boot) and I've been investigating on how they are "separated" in order to cover the test cases and how to ...
leugimlenipse's user avatar
0 votes
0 answers
302 views

I am contacting you today regarding a recent problem with circular dependencies. It's about a Spring boot application that accepts data via a Rest API and then forwards it to an internal Spring ...
Phoenix's user avatar
  • 77
-1 votes
1 answer
1k views

I have a Spring Boot application which is containerized. The application has become huge with lots of complications and its difficult to maintain it. So I am thinking of breaking it into microservices....
Prasad Patil's user avatar

15 30 50 per page
1
2 3 4 5
7