150,373 questions
Advice
0
votes
2
replies
46
views
Claude Dedicated Spring Boot Skill
I hope this message finds you well. I'm reaching out regarding the recent Spring AI Agentic Patterns and Agent Skills announcements.
Currently, I'm working with Claude and Spring Boot, and I see ...
Best practices
2
votes
1
replies
69
views
file handling in java
You have an Excel (.xls/.xlsx) file containing 1000 employee records. How would you read the data from the Excel file and store it into a database using Java?
<dependency>
<groupId>org....
1
vote
1
answer
106
views
Use custom validators in correct order
I have this DTO class that has class-level custom validators, Password and ConfirmPassword, depend on other fields, and I intend to use them on another DTO object.
@Data
@Builder(toBuilder = true)
@...
Advice
1
vote
2
replies
111
views
AI world learning confusion
I'm a fresher software engineer with 8 months of experience working at a fintech company. My tech stack is .NET, Spring Boot, React, SQL Server, and I'm mostly building internal portals and banking-...
Advice
0
votes
2
replies
104
views
Hypothetical (short) Roadmap to Back-end development
I'm not new to programming, but I'm a newbie when we're talking about Back-end development.
I want to find a job (junior or internship) in this field in the next few months, and need to practice ...
Best practices
0
votes
1
replies
69
views
Best practice for managing secret credentials in Spring Boot using Bitbucket
I am working on a Java Spring Boot application and would like to follow a professional approach for managing secret credentials (such as database passwords, API keys, etc.).
I have the following ...
Best practices
0
votes
2
replies
85
views
I want to know about the Read/Write replica RDS connectivity for springboot. If any existing git link is there regarding this, it will be helpful
What is a safe migration strategy for introducing AWS RDS Read Replicas into an existing Spring Boot application that currently uses a single MySQL datasource?
Goals:
• Minimal downtime
• Ability to ...
1
vote
0
answers
48
views
Test dependencies leaked in packaged jar
I recently bootstrapped a small Spring Boot app using IntelliJ's Spring Boot project starter
I eventually ended up with the following pom file, after adding two Gatling test dependencies:
<?xml ...
-1
votes
0
answers
103
views
How to fix missing MapStruct bean errors in Spring Boot applications?
I am building a Spring Boot application and integrating MapStruct for object mapping. However, the application fails to start with a BeanCreationException. The error indicates that Spring cannot find ...
1
vote
1
answer
70
views
HTTP/2 requests to Spring Boot on ECS behind AWS NLB fail with PROTOCOL_ERROR (HTTP/1.1 works fine)
After upgrading our application to Spring Boot 4.1.0, requests started failing once the service was running behind an AWS Network Load Balancer (NLB) configured with a TLS listener. The same build ...
0
votes
1
answer
64
views
How to share session authentication between host and remote in Module Federation 2.x (Vite) when remoteEntry.js returns 401
I have a micro-frontend setup using @module-federation/vite (Module Federation 2.x runtime, version 2.5.0):
Host app: Pure frontend (React + Vite), no backend
Remote app: React + Vite frontend, ...
-2
votes
0
answers
33
views
How to get Autocompletion for 'custom finder methods' and 'JPQL' inside Spring Data JPA Repository when using eclipse STS
So I had encountered that my eclipse doesn't give support for autocompletion when I was writing custom finder methods and JPQL. I know this works on Jetbrains Intellij Idea paid version but I want to ...
2
votes
1
answer
117
views
Can't rollback a spring transaction
In a project I need to import a CSV file into database, and the operation must be rollbacked in the case of any problem.
A service calls a helper to read data from file and put them in a List, then it ...
3
votes
1
answer
145
views
Mapping entity objects to domain interface
I have an interface in domain and two string infrastructure that represent that interface. the problem is, the interface cannot initiate in mapper class so I don't know how to map entity to domain in ...
2
votes
0
answers
93
views
How do I wait my program thread for something to happen in Spring Boot and then wake it up?
I am writing this backend software where I need to send Firebase notifications to the client (a tablet), and when I send the notification itself (wrapped in a method) I want my thread to wait 10 ...