≡ Menu

Podcast Episode 33 – Intro to Spring Framework

Java-Podcast

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 userLogin method.

As promised, here’s a quick video that shows you exactly how this Controller magic actually works!

New Podcast!

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 info@howtoprogramwithjava.com.

{ 7 comments… add one }
  • Dave August 24, 2013, 12:56 am

    Wonderful. This was my first exposure to your content, and I enjoyed the podcast and the video.
    I’ve been pursuing an entry level job in java for a few years now, and I really wish I knew about this video 2 weeks ago as I was working on this exact issue for a “code test”. I did not get the job, but I hope you can help me get one in the future.
    Thanks!
    Dave

  • Percy September 17, 2013, 1:31 pm

    Yes please, start an entrepreneurship podcast for programmers!! Although I am an experienced Java programmer (10 years now), I have listened to all your podcasts and I can tell the entrepreneurship one will be incredibly useful!! I’m already learning Android and trying to create an awesome app that can help me start my business and some tips would really help. Thank you!

    • Trevor Page September 29, 2013, 6:26 pm

      Thanks for the comment… it’s definitely in the works, I’ll need to finish up with a lot of my other business responsibilities before I’m going to start recording this new podcast. But in the mean-time, my subconscious is hard at work with ideas and content!

  • kiranvarma - npeducations October 1, 2013, 12:55 am

    very clean and neat explanation

    great write up! thank you

  • Joel December 16, 2013, 10:18 am

    It’s so hard to find good information on the web. That’s for organizing all the technical pieces into a whole.

  • ANJNESH TIWARI October 25, 2016, 6:41 am

    HEY,
    I AM NEW IN SPRING FRAMEWORK. I WANTED TO KNOW. HOW TO IMPLEMENT PREVENTION OF CSRF TOKEN WITH STRUTS SPRING HYBRID APPLICATION FOR AJAX REQUEST.PLEASE HELP ME.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.