Spring MVC Example using Java Based Configuration

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 66

  • @ezamarichard
    @ezamarichard 5 ปีที่แล้ว +1

    after days and days . this is the only tutorial that worked for me (with my 6years android experience am very excited to code for the web on top of Dot Net fullstack, nodejs, php laravel ,python flask)

  • @curiously-cinnamon
    @curiously-cinnamon ปีที่แล้ว

    SpringMVC using Java configuration recap : 16:55

  • @VijayKumar-xw2lr
    @VijayKumar-xw2lr 7 ปีที่แล้ว

    Great and Very helpful video

  • @mirchivahi
    @mirchivahi 6 ปีที่แล้ว +3

    Hello Sir... this video is very useful to me.. and as you promised, please do the spring+hibernate with java configuration... i'm so egerly waiting for that... thank you!

  • @NandinerdeneMandakh
    @NandinerdeneMandakh 4 หลายเดือนก่อน

    If someone is watching this recently the WebMvcConfigurerAdapter class was deprecated and removed in Spring Framework 5.0. Instead, you should use the WebMvcConfigurer interface.
    public class MvcConfig implements WebMvcConfigurer

  • @fahadgaliwango4502
    @fahadgaliwango4502 6 ปีที่แล้ว +1

    i really appreciate your work, sir create for us videos for spring web flow

  • @sudhakarkothapalli3342
    @sudhakarkothapalli3342 5 ปีที่แล้ว +1

    Thank you so much sir for explaining like anything I have no words to say... thank You....

  • @uzeyirhuseynov4821
    @uzeyirhuseynov4821 5 ปีที่แล้ว +1

    Thank you sir, pretty much helpful for us, we are waiting for new videos :) deep spring mvc :)

  • @vishpepala2712
    @vishpepala2712 7 ปีที่แล้ว

    This video is simply awesome...

  • @sathwikdr1825
    @sathwikdr1825 6 ปีที่แล้ว

    Wowwww its really great.... expecting some more vedios with springmvc + hibernate

  • @akramriyo8742
    @akramriyo8742 6 ปีที่แล้ว +2

    Please make video registration and login program with database
    Using Spring framework in netbean

  • @praggyasrivastava2607
    @praggyasrivastava2607 5 ปีที่แล้ว

    Thank you Sir. You explain difficult things in a very easy way . It helped me a lot. Thank you once again.

  • @dhanyaraj0
    @dhanyaraj0 4 ปีที่แล้ว

    Hi Navin, Could you please upload some video on Spring batch ...not getting any good videos on that ..please

  • @fprinceofpersia
    @fprinceofpersia 6 ปีที่แล้ว

    great stuff - one create a project structure and work it out just by using your videos, thank you :-)

  • @BaluKompalli
    @BaluKompalli 6 ปีที่แล้ว

    Thank you Naveen garu, It is helping me more on the srping-bean.xml configuration. Java Based configuratiuon is better than those nasty xml type configuration. Its headche. I deleted my sample projects coz of this configuration fails

  • @er.sr.9057
    @er.sr.9057 7 ปีที่แล้ว

    Please make a video on front end developer skill set.

  • @akshaytalekar1109
    @akshaytalekar1109 6 ปีที่แล้ว

    hats off to you Sir

  • @anwarhussain-rl3ni
    @anwarhussain-rl3ni 6 ปีที่แล้ว +1

    I am not able to find Target Runtime after clicking on properties. What should i do

  • @rajchourasia9244
    @rajchourasia9244 7 ปีที่แล้ว

    Awesome sir

  • @koushikdas2755
    @koushikdas2755 6 ปีที่แล้ว

    Can you please make a video related to themeResolver with code example

  • @vai1719
    @vai1719 2 ปีที่แล้ว

    What is the major difference between annotation and java based configuration?

  • @AmericanDream5
    @AmericanDream5 3 ปีที่แล้ว

    Can you do the same example by using Json

    • @AmericanDream5
      @AmericanDream5 3 ปีที่แล้ว

      I mean return a Json type date for JavaScript to display using fetch

  • @pravinjagtap2936
    @pravinjagtap2936 6 ปีที่แล้ว

    Thank you sir for such wonderful video

  • @akshaybhatt5990
    @akshaybhatt5990 6 ปีที่แล้ว +1

    How tomcat knows it has to load the java configuration and not web.xml?

  • @er.sr.9057
    @er.sr.9057 7 ปีที่แล้ว

    Hello Sir...
    I have watched ur some java videos.
    And I like ur videos.
    Please make a video on front end developer.

  • @PraveenKumar-pw9kq
    @PraveenKumar-pw9kq 7 ปีที่แล้ว

    Hey i have question.
    What should i learn Spring MVC or ASP . Net core?
    Also what are the difference in between those two frameworks?

  • @baleshwariaddula4775
    @baleshwariaddula4775 6 ปีที่แล้ว

    Hi sir this vedio is very helpful please do the spring+hibernate with java configuration... i'm so egerly waiting for that...

  • @munirajd2917
    @munirajd2917 5 ปีที่แล้ว

    Hello Good afternoon,
    How we use html index file instead of jsp file using annotations based spring mvc and not java and xml based spring mvc.I tried using welcome file list in web. Xml but dont work
    Thanks,
    Muniraj

  • @g1-gangaputhra149
    @g1-gangaputhra149 6 ปีที่แล้ว

    How should we do in DYNAMIC WEB PROJECT???
    U said that we need to config....Is it complex

  • @shanmugapriya3762
    @shanmugapriya3762 5 ปีที่แล้ว

    Hi Navin Sir,
    From this video, 1.could you please explain what is the difference between @getRootconfigclasses() and @getServletconfigclasses() which extends
    Abstract annotationconfigdispatchservletintializer...
    2.And pls explain what is the use of context loader intializer

    • @curiously-cinnamon
      @curiously-cinnamon ปีที่แล้ว

      I have the same doubt. I couldn't understand why in this Spring MVC example with Java based configuration, he used getRootConfigClasses() but in Spring MVC example with XML and Annotation based configuration, he used getServletConfigClasses() to return the array of @Controller classes

  • @KairaMGOTZE
    @KairaMGOTZE 6 ปีที่แล้ว

    thanks a lot very good tutorial

  • @Blackoutfor10days
    @Blackoutfor10days ปีที่แล้ว +1

    Learn spring boot no need to use this configuration stuff for faster development

  • @franciscoanderson9027
    @franciscoanderson9027 6 ปีที่แล้ว

    thanks good man you helped me a lot with this tutorial.

  • @ErickFry
    @ErickFry 6 ปีที่แล้ว

    Hi Telusko, i have a problem with my aplication, I'm using your method to configure MVC with java, the problem is that when I run on server (App Engine), it does not use my context "http: // localhost: 8080", so I have to manually enter "index.jsp" for this to work, how can I assign this page to the context, or welcome files ?, (because the web.xml with the welcome files doesn't work). Thanks for your answer.

  • @chandankumartripathy8556
    @chandankumartripathy8556 4 ปีที่แล้ว

    Thanks a lot..

  • @pritamchavan7118
    @pritamchavan7118 7 ปีที่แล้ว

    Sir please make video on spring security customized login form using XML based config

  • @satyajitsahoo2138
    @satyajitsahoo2138 5 ปีที่แล้ว

    If i will become a membership then what will be benefit

  • @avinashavi6113
    @avinashavi6113 7 ปีที่แล้ว

    can u please take a class for RECURSION in java. I am totally messed with that and i can not understand about RECURSION

  • @kinzangchedup321
    @kinzangchedup321 7 ปีที่แล้ว

    sir, we are subscribing your channel and the every tutorials of yours is awesome. sir, how can i connect/contact with you?

  • @insidehead
    @insidehead 7 ปีที่แล้ว

    If I want a subtraction button in my web page. So how it will map with controller. Please help

  • @uditrathi8536
    @uditrathi8536 7 ปีที่แล้ว

    sir, I have watched all your video in java tutorial and have practiced .Then how much java do I know ? is this good enough to get a starting job. please answer someone.

  • @inspiretrue807
    @inspiretrue807 6 ปีที่แล้ว

    WebMvcConfigurerAdapter is deprecated what to do?? Plz help I'm using spring 5.1.0 plz help..

    • @vinayakmahadev488
      @vinayakmahadev488 6 ปีที่แล้ว

      import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
      //Replacement for web.xml's file config
      public class SpringFrontConfig extends AbstractAnnotationConfigDispatcherServletInitializer {
      @Override
      protected Class[] getRootConfigClasses() {
      // TODO Auto-generated method stub
      return new Class[] {ServletConfig.class};
      }
      @Override
      protected Class[] getServletConfigClasses() {
      // TODO Auto-generated method stub
      return null;
      }
      @Override
      protected String[] getServletMappings() {
      // TODO Auto-generated method stub
      return new String[] {"/"};
      }
      }
      use this class

    • @MVPJava
      @MVPJava 5 ปีที่แล้ว

      Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.

  • @akhileshkumar-iu9uq
    @akhileshkumar-iu9uq 7 ปีที่แล้ว

    I would like to do distributed computing with java....Can u send me any example code

  • @haquebe1701
    @haquebe1701 6 ปีที่แล้ว

    mv.setView("result.jsp") giving no view resolver found warning!?

  • @kalanaramesh5911
    @kalanaramesh5911 4 ปีที่แล้ว

    Thank you!

  • @darogajee3286
    @darogajee3286 7 ปีที่แล้ว

    get detailed video on spring mvc without on any editor...

  • @sainathpatil6893
    @sainathpatil6893 6 ปีที่แล้ว

    Thanks sir

  • @ravigadhavi6268
    @ravigadhavi6268 6 ปีที่แล้ว

    Sir how to dowload spring tool for netbeans

  • @unlockingjigyasa2240
    @unlockingjigyasa2240 7 ปีที่แล้ว

    Sir kya bhu ke mca students ko iit (bhu)ke campus placement mein baithne ka mauka milta Hai becoz iit(bhu) ka placement bahut acchaa Hai compare to bhu ke campus placement se

  • @chinmaydas4053
    @chinmaydas4053 7 ปีที่แล้ว +3

    please sir make videos on html,css and JavaScript.It will be very helpful for us..please do sir..

  • @adstub
    @adstub 6 ปีที่แล้ว +1

    Please Put the maven config in the Description !!

    • @mr.techno-era7474
      @mr.techno-era7474 6 ปีที่แล้ว +1

      Don't ask him for everything, just try it yourself!

    • @adstub
      @adstub 6 ปีที่แล้ว +1

      Maven config is not even the tip of the iceberg its just a formality before you start the project
      I guess thats what he made the video for !!!
      Hope you get what i am saying !!

    • @mr.techno-era7474
      @mr.techno-era7474 6 ปีที่แล้ว

      Yes, it is not even tip of iceberg. We have to do lots of things in Spring MVC application. I am currently working on it . I have used Maven, and xml based spring configuration. I used following thinks in my project :
      1 spring security : for login and role based managment
      2 jdbcTemplate & namedParameterJdbcTemplate : for data manipulation
      3. apache tiles: for web page layout

  • @Raja-ry1dd
    @Raja-ry1dd 5 ปีที่แล้ว

    Navin this is same as Annotation Based configuration which you taught in previous video. What's the difference between Annotation Based and Java Based configuration..

    • @Raja-ry1dd
      @Raja-ry1dd 5 ปีที่แล้ว +1

      And What is difference between getServletConfig and getRootServletConfig,

  • @ProGumas
    @ProGumas 5 ปีที่แล้ว +1

    Hello, this tutorial will no longer work, because WebMvcConfigurerAdapter is deprecated. So I recommend look for another option.

    • @MVPJava
      @MVPJava 5 ปีที่แล้ว +2

      Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.

  • @wajahathussain571
    @wajahathussain571 6 ปีที่แล้ว

    Dear, please don't repeat the same concepts. Thank you