FYI, I am starting to write 2 new opinionated guides "Building Kotlin applications with Spring Boot and WebFlux" and "Building Kotlin applications with Spring Boot and Spring MVC" because there are too much possible variants and I feel you don't always find the information because it is splitted in too much distinct places (slides, Framework ref doc, Boot ref doc, https://github.com/sdeleuze/ demo projects, Spring blogs, Kotlin Kdoc). There is a need for a pragmatic and canonical place where to find what look like such applications with all best practices. The WebFlux guide will use functional router DSL and handlers. Both will use Junit 5 +
injection and show how to do integrations tests and mocked tests.
@sdeleuze Let me know if there's any work that you want help with.
04/17/2018, 2:43 PM
Sure thanks, I will start something and ask feedback and PRs when I have something
04/17/2018, 4:21 PM
There's a lot of very old guides as well which promote deprecated practices, there should be a central doc outlying how Pivotal would like us to use the framework.
E.g. I was returning strings for my websecurityconfig class (on any function that had @RequestMapping) but I was told recently it's actually better to return ModelAndView() instead.
04/17/2018, 4:30 PM
I always add a <1 year old filter to my search
04/17/2018, 4:33 PM
On a side note, there's a ton of documentation for Spring. One of the best documented server frameworks I've run across. Spring Boot also makes it really easy (and stupid proof) to launch a server too. I've written maybe 400 lines of code and I already have a mysql server, JPA, JWT, custom user and role classes, error responses, et cetera.