Hey @starbuxman got a Q for you: if you have a developer who is new to Java and needs to learn just enough Spring to build a web app, is Spring Boot via Spring Initializr the right way to teach? It would seem that, but....?
1
2
yeah! that's the ticket. That, plus spring.io/guides. The guides are the key ingredient. theyre 10-15 minutes long. Each one is focused on the 'make it wiggle' result for a given goal. Build a REST endpoint, talk to a database, add security, talk to an MQ, etc.
2
8
Yeah, I plan to point people at that as a follow-up. But for just "Here's how we do a dirt-simple Web API endpoint" (I'm not convinced anybody wants to do MVC for a greenfield project today) "that talks to a database", I just want to Initializr, build, and season to taste. :-)
2
1
Everyone should be doing MVC most of the time if you ask me, especially if they’re still learning and want to keep things simple. In fact, that’s kind of always the case, so … ;)

Jul 18, 2018 · 7:27 AM UTC

1
4
Replying to @stilkov
I agree 100% conceptually, but I think (and forgive me if I'm misguiding or presuming too much @tedneward) was saying they're not going to do MVC as a way to distinguish server-side generated Struts-style web apps with Spring MVC, as opposed to HTTP/REST endpoints w/ Spring MVC?
2
Yes, sort of. It’s not that I don’t think MVC is useful, but that I want to keep the examples lean and mean and tightly focused on the Java-specific parts. Think “What would an ASP.NET dev need to know to get started on the JVM?”
1