_pankajjs's profile picture. nothing to tell

pankajjs

@_pankajjs

nothing to tell

Use @RequiredArgsConstructor from lombok with final fields for constructor injection in a cleaner way.

Stop using field injection (@ Autowired on private fields). It makes your code impossible to test without reflection magic. Constructor injection is the only valid way to write Spring components. If your constructor has 10 arguments, that’s a design flaw, not a framework…



spring boot +ecosystem has everything to build a production ready application.


This account does not have any followers

United States Trends

Loading...

Something went wrong.


Something went wrong.