MVC Java Tutorial

MVC Java Tutorial

FavoriteLoadingAdd to favorites

Get the Code Here :

Java468x60

Support me on Patreon :

Welcome to my MVC Java Tutorial. I have been asked for this tutorial many times in the last few weeks.

To understand the Model View Controller you just need to know that it separates the Calculations and Data from the interface. The Model is the class that contains the data and the methods needed to use the data. The View is the interface. The Controller coordinates interactions between the Model and View.

The video and code will make it very easy to understand.

source

By |2020-12-07T10:57:47+00:00December 7th, 2020|Java Video Tutorials|26 Comments

26 Comments

  1. Derek Banas December 7, 2020 at 10:57 am - Reply

    Learn in One Videos for Every Programming Language
    Subscribe to Bookmark them: http://bit.ly/2FWQZTx
    C++ : https://youtu.be/Rub-JsjMhWY
    Python : https://youtu.be/N4mEzFDjqtA
    Java : https://youtu.be/n-xAqcBCws4
    PHP : https://youtu.be/7TF00hJI78Y
    MySQL : https://youtu.be/yPu6qV5byu4
    JavaScript : https://youtu.be/fju9ii8YsGs
    C# : https://youtu.be/lisiwUZJXqQ
    HTML5 : https://youtu.be/kDyJN7qQETA
    CSS3 : https://youtu.be/CUxH_rWSI1k
    JQuery : https://youtu.be/BWXggB-T1jQ
    TypeScript : https://youtu.be/-PR_XqW9JJU
    ECMAScript : https://youtu.be/Jakoi0G8lBg
    Swift : https://youtu.be/dKaojOZ-az8
    R : https://youtu.be/s3FozVfd7q4
    Haskell : https://youtu.be/02_H3LjqMr8
    Handlebars : https://youtu.be/4HuAnM6b2d8
    Bootstrap : https://youtu.be/gqOEoUR5RHg
    Rust : https://youtu.be/U1EFgCNLDB8
    Matlab : https://youtu.be/NSSTkkKRabI
    Arduino : https://youtu.be/QO_Jlz1qpDw
    Crystal : https://youtu.be/DxFP-Wjqtsc
    Emacs : https://youtu.be/Iagbv974GlQ
    Clojure : https://youtu.be/ciGyHkDuPAE
    Shell : https://youtu.be/hwrnmQumtPw
    Perl : https://youtu.be/WEghIXs8F6c
    Perl6 : https://youtu.be/l0zPwhgWTgM
    Elixir : https://youtu.be/pBNOavRoNL0
    D : https://youtu.be/rwZFTnf9bDU
    Fortran : https://youtu.be/__2UgFNYgf8
    LaTeX : https://youtu.be/VhmkLrOjLsw
    F# : https://youtu.be/c7eNDJN758U
    Kotlin : https://youtu.be/H_oGi8uuDpA
    Erlang : https://youtu.be/IEhwc2q1zG4
    Groovy : https://youtu.be/B98jc8hdu9g
    Scala : https://youtu.be/DzFt0YkZo8M
    Lua : https://youtu.be/iMacxZQMPXs
    Ruby : https://youtu.be/Dji9ALCgfpM
    Go : https://youtu.be/CF9S4QZuV30
    Objective C : https://youtu.be/5esQqZIJ83g
    Prolog : https://youtu.be/SykxWpFwMGs
    LISP : https://youtu.be/ymSq4wHrqyU
    Express : https://youtu.be/xDCKcNBFsuI
    Jade : https://youtu.be/l5AXcXAP4r8
    Sass : https://youtu.be/wz3kElLbEHE

  2. mabblers December 7, 2020 at 10:57 am - Reply

    Nice job!

  3. TooTyrnt December 7, 2020 at 10:57 am - Reply

    Why do I feel like Andy Bernard is giving me this lecture 😂

  4. Jacob Eriksson December 7, 2020 at 10:57 am - Reply

    why you out here sounding like Andy Bernard

  5. hipErxyz December 7, 2020 at 10:57 am - Reply

    This was perfect. Thank you.

  6. Sarath SunilDutt December 7, 2020 at 10:57 am - Reply

    Why do everyone do stuff on swing? I simply cannot find any tuts on just Java FX without any scene builder.

  7. Mario Ramalho December 7, 2020 at 10:57 am - Reply

    Thanks a million for all your videos. It has been my daily way to learn Java and everything is working fine. You are a legend.

  8. Jonathan Swanepoel December 7, 2020 at 10:57 am - Reply

    Legend. Thanks Man. Not even Half way through and I know this is what I needed.

  9. Deepanshu December 7, 2020 at 10:57 am - Reply

    In CalculatorController you have used "private CalculatorView theView" object Since this object is private,then how is it accessible in another class "CalculateListener". please help

  10. Khaled Alhamad December 7, 2020 at 10:57 am - Reply

    Straight to the point as always. Wonderfully executed. 10/10 Pro points

  11. HH December 7, 2020 at 10:57 am - Reply

    Thank you.This is really easy to understand.

  12. Najib S December 7, 2020 at 10:57 am - Reply

    Cool tutorial man. I got the concept way easier than when i learnt it in uni. Keep on doing what u do

  13. Cheong Ze Wei December 7, 2020 at 10:57 am - Reply

    Quick and sleek. Real nice video explanation here.

  14. Coaster December 7, 2020 at 10:57 am - Reply

    great voice, great explanation

  15. BaNaNa Joe December 7, 2020 at 10:57 am - Reply

    Data Interface Coordinator => DIC
    I see why they took MVC xD

  16. MoeinMans December 7, 2020 at 10:57 am - Reply

    wow that really helped
    you explained it so clearly, thanks man.

  17. wangpo December 7, 2020 at 10:57 am - Reply

    Thank you Derek, your command pattern and MVC really help with my class project. Keep the good work. You are the best

  18. Philip Beeby December 7, 2020 at 10:57 am - Reply

    many thanks for this video – really helped me a lot, I typed it into Eclipse as learning MVC as part of uni course. I also went through my code and added comments. the only thing that still doesn't make much sense is the "this" in the calculatorView as not sure what "this" is in this context. I will look at your comments and see if this explains it. Many thanks for this demo of MVC

  19. BobFromBilling December 7, 2020 at 10:57 am - Reply

    Derek you are the man.

  20. Samia Saeed December 7, 2020 at 10:57 am - Reply

    Thank you DEREK for the nice tutorial just want to ask what if my model consists of a lot of classes .. where should I handle all reported exceptions for methods in these classes ?? should I try and catch in each method or try and catch in the controller

  21. Carlos Gibson December 7, 2020 at 10:57 am - Reply

    Beautiful tutorial! thank you so much for this 🙂

  22. Space Werbung December 7, 2020 at 10:57 am - Reply

    Thank you very much. I have q further question. You put your logic for calculating in one class. But what if I have for example three classes which are responsible for provide the data (

    All classes combined result in the data that is displayed).

    Which class would my model be or how can I combine these 3 classes into one model?

  23. albinoethiopian3 December 7, 2020 at 10:57 am - Reply

    This is awesome!!! Thanks for the info!!
    Is there anyway you could do more of these on MVC? Possibly with switching between different views?

  24. Tran Narius December 7, 2020 at 10:57 am - Reply

    Thanks so much, this is still going to be helpful to students and people far into the future!

  25. Anna Alex Antonini December 7, 2020 at 10:57 am - Reply

    This is a great tutorial, thank you!

Leave A Comment

*