It's either Spring, or Java EE's way (together with the new Jakarta EE paradigm, which is actually pretty cool if you ask me). I've seen the latter a lot more in the enterprise sphere.
>Optimizing Enterprise Java for a Microservices Architecture
Captain Kirk:
When the spaceship nears colossal planet Enterprise, two kinds of developers on board will be revealed:
- those who jetpack enthusiastically down to the planet (their Buzzwordite (TM) foam resumes will softpad their landing)
- and those who retrorocket desperately away, seeking lean, mean, computing machines
Spock:
Logical flaw - you forgot off-by-one errors.
Yes, its a mess.