Skip to main content
Best practices
0 votes
1 replies
8 views

Is there a way to bind data when registering a view? For example, I want to register a view named userProfile using ViewControllerRegistry and bind the model data needed for this page. public void ...
munan's user avatar
  • 373
-3 votes
0 answers
28 views

Looking for best practices to implement RBAC in spring security within keyclock integration.
Amir Amiri's user avatar
0 votes
1 answer
35 views

I have a Spring Boot MVC project, where I now wish to proxy another webapp running on the same server. I'm fronting with Spring for security and URL consistency reasons. Existing pom.xml was ...
Stewart's user avatar
  • 19.2k
1 vote
0 answers
45 views

I am trying to update entity fields dynamically using reflection in a Spring Boot application. I wrote the following code: public EmployeeDTO updateEmployeeById(Long employeeId, Map<String, Object&...
Shubham Pawade's user avatar
1 vote
1 answer
38 views

When upgrading to Spring Boot 4 (Hibernate 7) you can get the message that the json functions are incubated, i.e. default its turned off. It will then tell you to set hibernate.query.hql....
avk's user avatar
  • 883
1 vote
0 answers
139 views

I am trying to understand the new API Versioning feature introduced in Spring 7 and seems like something is not right. According to the spring documentation, if versioning is enabled and no version ...
Saravana Kumar M's user avatar
2 votes
1 answer
49 views

I am trying to use MessageSource with my Spring application for message constant. I tried everything but my message is not shown in Swagger. /src/main/resources/message_en.properties This is my ...
Dev Vaghasiya's user avatar
3 votes
1 answer
82 views

I have a Gradle project with the following configuration: plugins { id 'org.springframework.boot' version '3.5.0' id 'io.spring.dependency-management' version '1.1.7' id 'java' } ext { ...
Peter Penzov's user avatar
1 vote
1 answer
69 views

I have created a very simple Spring Boot application to experiment with embedded Apache Artemis. I have the following build.gradle: plugins { id 'java' id 'org.springframework.boot' version '4....
user2430147's user avatar
1 vote
0 answers
54 views

In Spring Framework 6 (Spring MVC), several of my @RestController endpoints return a MappingJacksonValue so I can set a Jackson serialization view dynamically based on the authenticated user’s group (...
Mike Cordeiro's user avatar
Best practices
0 votes
1 replies
59 views

I have a reactive spring webflux rest api which exposes a REST endpoint. The business logic of the rest endpoint is straightforward. Based on some ID, I am going to call another third-party service I ...
PatPanda's user avatar
  • 5,478
Advice
0 votes
0 replies
45 views

Context: We started building the application with multiple micro services at first and now at a point where the application is more mature and changes are not frequent, lots of discussions were done ...
Vijayanak L's user avatar
-4 votes
1 answer
49 views

I noticed that starting from version 6.0.0, pac4j-oidc has a dependency on spring-core. What consequences will this have for my project (Java 17 + Hibernate 5 + Tomcat 9) if I start using pac4j-oidc ...
Borneo777's user avatar
  • 183
1 vote
1 answer
132 views

We have a situation where we need to write the logs from an app running in multiple pods on an OpenShift project to the database so I slapped together a quick database logging POC with log4j2, and got ...
Striker's user avatar
  • 351
Advice
0 votes
0 replies
32 views

I have a fresh and minimal Spring boot 4 project with Spring Modulith which you can see here. I have two modules User and Task. A User has zero or more Tasks. Both modules expose a MTO (Module ...
CodingCoder's user avatar

15 30 50 per page
1
2 3 4 5
14190