i have created an annotation that has features such as checking if the entered string is null or at the assigned value.But the annotation doesn’t work. I don’t think it does any validation on the DTO.What am I doing wrong ? I also added the valid annotation on the controller. I don’t think the isValid() function works. Answer Record classes
Tag: spring-annotations
Why am I obtaining this error trying to start multiple Spring Batch Jobs? The bean ‘jobLauncher’….could not be registerd
I am working on a Spring Batch application containing two different Job bean (representing two different jobs). Both these jobs must be performed by my application (at the moment it can be done both sequentially and in parallel. It is not so important at the moment). In order to achieve this behavior I am trying to follow this documentation but
Where to put the bean logic creation into a simple Spring Boot application? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 10 months ago. Improve this question it is pretty long time that I am not using Java technologies and I have some doubt if this could be
Spring choose property source by a combination of profiles
I have multiple environments driven by Spring profiles, such as application-int.yml, application-dev.yml etc with similar content: application-int.yml ws: endpoint: http://my-soap-int-endpoint.com/…
Is it necessary to use @Configuration while working with spring annotations
I am working with a simple spring application to check @Configuration and @Bean(java based configuartion only),The program is working with both @Configuration and without it.So is it necessary to have it. Here is my code, Student.java Faculty.java MyConfig.java Client.java The output is same with or without the @Configuration Even tried with autowiring,it is also working without @Configuration Student.java Client.java Answer