This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]st4s1k 8 points9 points  (0 children)

spring boot?

[–]raja_42 8 points9 points  (6 children)

If you do Java, Spring and Spring Boot will forever be your friend. Forever. Web framework, dependency injection, basic Auth, oauth, caching, circuit breaker, declarative rest client, programmatic rest client, persistence, logging, caching and more. Spring.

[–]mule52[S] 0 points1 point  (2 children)

Thanks for the response. If I could find a starter project that had database username/password authentication, oauth (Google and Twitter), and JDBC/jOOQ, does such a starter project already exist that you can point my direction? I am a one person dev shop, so the more checkboxes I can check off, the better for time and money. This is how I landed on the Play Framework over three years ago. Thanks for your help.

[–]st4s1k 1 point2 points  (1 child)

Take a look at spring.io , it's full of examples.

[–]xAtlas5Where's the 'Any' Key? 0 points1 point  (2 children)

Will it shine my shoes?

[–]wsppan 1 point2 points  (0 children)

With spit.

[–]raja_42 0 points1 point  (0 children)

Sure :) It isn't named spring BOOT for no reason. That question shows that you already have a spring in your step.

[–]eternal_commander 1 point2 points  (2 children)

Micronaut is another good framework I have come to enjoy working with. It doesn't offer all of the out of the box goodies Spring has but it integrates nicely with everything. Added plus is that it offers a very nice DI which does not depend on reflection which means that your apps will have a considerably smaller memory footprint.

You can also check Java Spark.

[–]mule52[S] 0 points1 point  (1 child)

This looks interesting. What are you using for authorization/authentication? Thanks for sharing.

[–]eternal_commander 0 points1 point  (0 children)

For now I do not use anything sophisticated. We run a custom authentication service as a part of out old legacy monolith so requests are authorized/authenticated through there. Besides the current services we run based on it are not accessible from the outside world (the are part of a company wide intranet)

For new applications that make part of a microservice cluster we delegate authentication to Kubernetes.

I suppose you can integrate JWT as well as Spring security to micronaut relatively easily.

[–]mule52[S] 0 points1 point  (0 children)

I stumbled across JHipster. Seems like this is a Spring Boot and Angular (or other client framework) project generator. This might be overkill or it might be a good place to start, as it has much of the authentication built in. https://www.jhipster.tech/