MVC Java Tutorial

[ad_1]
Get the Code Here :

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.


Posted

in

by

Tags:

Comments

21 responses to “MVC Java Tutorial”

  1. rwallace053 Avatar

    If you had, for example, a custom HashMap class, would this be considered a Model? Or just an underlying service layer/none of the above?

  2. Mir Sahib Avatar

    do i have to create another view and controller if i make new model

  3. Zahra Q Avatar

    Would be nice if you did a MVP and MVVM tutorial.

  4. Anna Flygare Avatar

    Don't forget to breathe, it would be simpler to catch the good content of the tutorial if you used natural breaks. It is like when you forget to use dots and commas in a written text.

  5. Serge 99 Avatar

    Hey can you make a video about Laravel please

  6. Muhammad Salman Avatar

    y u can't use netbeans ??

  7. ~G@Mer L!Fe~ Avatar

    yaa. its a good way to do coding but still i will prefer my way..just to do everything in 1 java class to make things less complicated.

  8. gimmethefreedom Avatar

    I'm wondering that why did you declare Jpanel in constructor class ?

  9. RAMESH RAJA Avatar

    Hi,

    I just saw your MVC Java Tutorial video and I have a clarification in it.

    1. In Model class, why do we need to create a variable called calculationValue to store the sum result instead can we return the sum result in the addTwoNumbers methods itself.

    please help me with the reason why we need to store the result data into model class before displaying it.

    Thanks in advance.

  10. Ali Mizan Avatar

    thanks for posting, super helpful video.

  11. Amin Adam Avatar

    Nice video! It is concise and You have a nice voice, its not boring.

  12. myName myname2 Avatar

    the most "overkill-ish" way to add two numbers LOL ,nonetheless great tutorial keep it up.

  13. Janick Norman Avatar

    HI Derek, please do Domain Driven Design in Java.

  14. Amjad Zahid Avatar

    Thank you derak… I need a little help.
    I developing a Store's Feedback application using swing for Area sales managers of my company. I just need to populate some questions from database with answer options(radios, checkboxes, lists etc). When manager fill up the questionnaire, it simply insert answer values in database.
    Please provide a mvc implementation for this.
    regards

  15. Ishmum Khan Avatar

    Hi Derek, would it be possible for you to do a series like this for Architectural Patterns

  16. Thomas Thompson Avatar

    Derek, you are the man! I can't stop watching your videos, you explain things so clearly! If possible, could you go over Maven or Spring MVC as well?

  17. Leon Lyu Avatar

    This video really helps me understand the basics of MVC pattern, hope to see more from you!

  18. Max Taylor Avatar

    Hey Derek.
    Correct me if I am wrong, but your controller contains both the model and the view, IE it is tightly coupled to swing libraries and if you replace swing with something else the controllers will need refactoring. Would it be better to have view calling the controller IE controller.acknowledgeAction(Action mouseClick, String buttonName)?
    I usually achieve this by having circular reference, see below. Comments welcome.
    Model model = new Model();
    Controller controller = new Controller(model);
    View view = new View(controller);
    model.setView(view);
    Cheers

  19. Abd EL-Rahman Said Avatar

    Which class is responsible of extracting data from database (JDBC Code) ? Some People Say it Model and others say no its the Controller

Leave a Reply

Your email address will not be published. Required fields are marked *