SpringRestController (@RestController) profile picture

http://t.co/h3zSay7umP

Joined August 2015
💯 I’m conveniently so convenient nitter.cf/rgielen/status/1019615…
+100! If there's a resource /users/bruno I'd expect to freely chose a suitable representation for my use case. Once it's HTML, server side rendering is not the worst solution. In the end @RestController is just convenience to avoid @ResponseBody before each method, if applies
1
SpringRestController retweeted
Fake news! I have so many answers!
1
1
Gettin my Brazilian accent ready for the World Cup ⚽️ nitter.cf/algaworks/status/10099…
10k people wishing they never have to google criteria join hql aggregation ever again nitter.cf/hibernate/status/10016…
10k followers! Time to celebrate. 🎉 Thanks for following us and stay tuned for more.
1
1
Spring makes OAuth 2.0 easy: @Grab('spring-boot-starter-security') @RestController @EnableOAuth2Sso class Application { @GetMapping('/') String home(java.security.Principal user) { 'Hello ' + user.name } } developer.okta.com/blog/2017…
Once again: insert me, magic happens nitter.cf/starbuxman/status/9630…
small Spring tip: @SpringData can convert your entity ID in a REST controller to the entity itself: @RestController class CarRestController { @GetMapping("/{id}") Car get(@PathVariable("id") Car car) { return car; } }
1
4
SpringRestController retweeted
“Spring-Boot の @RestController の単体テストを記述する - Qiita” htn.to/Q8jF8T
1
3
SpringRestController retweeted
just realized there's a misguided Java EE vs Spring debate going on and.. yah.. just checked - I don't care even a little 🤷‍♀️. – at Stuttgart, Germany
6
4
1
24
but I'll admit, Grails 3 is sweet. It's like Boot but minus all the annotations and wiring
Ryan "Mr. Alexa Lego Mindstorms" listen to Erik cause I can get it done. even in groovy
2
1
agreed. And in general getting started with Java is hard. And web development. But Spring Boot ain't bad
1
honest question: what framework is more approachable?
4