An Epic Journey
Well, so far we’ve been focusing on a bunch of topics that align themselves around the Java programming language in general. But now we’re going to take things into a slightly new direction, we’re going to be talking about the Spring Framework — more specifically, Controllers and the Spring Framework.
You see, my goal for this blog and podcast has been to not only teach you the Java programming language, but also teach you how you can build a web application. So, this is the first step in that direction.
What You’ll Learn
In this episode of the How to Program with Java Podcast, you’re going to learn all about the
Controller in Spring. The
Controller is the mechanism that Spring uses to intercept HTML requests and map them to certain methods in Java. This is useful because it allows for communication between the land of HTML and the land of Java.
The example I used in the podcast was to be able to map the URL: howtoprogramwithjava.com/login to a method in Java like the
userLogin method. So this means that when a user loads the howtoprogramwithjava.com/login method, the Controller will intercept that request and point Java to the
As promised, here’s a quick video that shows you exactly how this Controller magic actually works!
Holy crap I’m thinking about starting another podcast. As I mentioned at the end of this podcast episode, I’m thinking about starting yet another podcast about entrepreneurship. Only, I’m wondering if I should have this new podcast focus on how to start a business if you’re a programmer. I figure since I love programming, and I love teaching programming, and I love entrepreneurship, why not combine them all into one EPIC podcast of awesomeness?!
Let me know what you think, leave a comment below or shoot me an email at email@example.com.