The Coolest SRPING BOOT Feature - Executable Jar (FAT JAR) | Introducing Spring Boot Maven Plugin

Поделиться
HTML-код
  • Опубликовано: 8 июн 2024
  • In this video we will go in-depth about Spring Boot’s maven plugin called Spring-Boot-Maven-Plugin. This plugin helps to build executable spring boot jar which can run without a web server. This FAT jar can be lunched with just a java -jar command and can help us to deploy our app without an external server.
    This helps to lunch and deploy our code quickly in an efficient way.
    Every jar’s are different with respect to the way they have been packaged. Eg.
    Skinny - Only contains the File that you write in your editor. That’s it !
    Thin - Contains all the above + the application direct dependencies (Library, drivers etc)
    FAT / Uber Jar - Contains all the files that you write in your editor + Application dependencies + a runtime environment which is needed your application to run by itself.
    In spring boot we deal with the FAT or Uber Jar. This helps to lunch our app without any external server like tomcat.
    Let’s get started with this spring boot tutorial and I will make sure this is beginner friendly.
    Timestamp
    __________
    The Spring Boot special JAR - 00:00
    Building a spring boot App - 04:27
    no main manifest attribute - 11:44Introducing Spring Boot Maven Plugin - 13:50
    Running spring boot app from command line - 17:39
    Java jar command with program arguments 20:09
    Normal Java JAR vs Spring Boot FAT Jar - 22:04
    What’s inside a thin jar - 24:16
    Analysis - No main manifest - 25:47
    What’s inside a FAT jar -29:45
    What’s Next - 35:23
    I will make sure that we will not download any ready made spring bot project from spring initializr website rather we are going to perform everything from scratch.
    For more free/paid courses visit
    www.seleniumexpress.com
    #SpringBoot #SpringBootFramework #SpringBootTutorial
    For More free/paid courses visit
    www.seleniumexpress.com
    LINKS AND FREE LEARNING RESOURCES
    ========
    Watch my new mock interview series for java developers
    • Java interview questio...
    Watch Spring boot Hot topics
    • @Reposicotry Vs @Servi...
    Java Interview / Question and Answer series
    • Java collections inter...
    Explain spring Bean Lifecycle
    • REAL-TIME: Spring Bean...
    spring core
    • Spring framework tutor...
    spring mvc
    • Spring MVC course intr...
    spring mvc intermediate
    • [INTERMEDIATE] Spring ...
    Spring JDBC
    • Spring JDBC Course Pre...
    spring live project
    • #1 Build and Deploy A ...
    SPRING SECURITY COURSE[NEW]
    • Spring Security Course...
    For more courses visit
    www.seleniumexpress.com
    Any time you are getting stuck with issues, Feel free to ask for support.
    You can send mail to seleniumexpress@gmail.com
    you can ping me on my Facebook page
    / seleniumexpress
    Make sure to join my private Facebook page (Ask me here)
    “SeleniumExpress - Support"
    / 187000222361579
    you can ask for support in my website forum
    www.seleniumexpress.com
    Subscribe to my youtube channel
    / @seleniumexpress
    Follow me on Insta
    / selenium_express

Комментарии • 92

  • @tanvirpathan8993
    @tanvirpathan8993 10 месяцев назад +1

    Your communication and the way you explain are drastically changed, I really impressed this change.
    I have been learning to much things from you....

  • @abhijeetgupta3461
    @abhijeetgupta3461 7 месяцев назад

    Your content is really good easy to understand and very rare over the RUclips.

  • @loneranger1595
    @loneranger1595 10 месяцев назад

    Bro you really are a life saver. Your detailed explanation is very easy to understand. I really wish to master springBoot so please add more videos on springBoot❤❤. Thankyou for your efforts.

  • @lunatichigh2896
    @lunatichigh2896 9 месяцев назад

    Thank you Abhilash, greetings from the Philippines.

  • @roronoa_d_law1075
    @roronoa_d_law1075 4 месяца назад

    You are one of the best instructors out there

  • @sateeshvarma727
    @sateeshvarma727 10 месяцев назад

    Hi Sir ji..You are truly blessed with great Knowledge and wisdom..😇 Thanks a lot for your videos, which are really helpful

  • @mukulkopulwar
    @mukulkopulwar 5 месяцев назад

    Thanks for sharing... very good explanation.

  • @heeratsingh9818
    @heeratsingh9818 7 месяцев назад

    Understood Everything thanks for the video!!!

  • @DeepakSharma-cv2tj
    @DeepakSharma-cv2tj 10 месяцев назад +2

    amazing bro just take spring boot course to next level

  • @tarunmathuria9472
    @tarunmathuria9472 10 месяцев назад

    I love this detailed video

  • @hanumanthukuruba4061
    @hanumanthukuruba4061 10 месяцев назад

    🎉 nice explanation 🎉

  • @aayush5474
    @aayush5474 10 месяцев назад

    I love these detailed videos

  • @sekhar4033
    @sekhar4033 10 месяцев назад

    Great Content Abhilash Thanks....

  • @akashsangle327
    @akashsangle327 10 месяцев назад +1

    really helpful

  • @akashborade2170
    @akashborade2170 6 месяцев назад

    Thank you so much brother❤

  • @ManishSingh-nd3zf
    @ManishSingh-nd3zf 9 месяцев назад

    mind blowing sir jee

  • @ashwinvarma9349
    @ashwinvarma9349 10 месяцев назад

    Great content, thanks!

  • @SSPrada
    @SSPrada 8 месяцев назад

    all good @Abhinash.

  • @patrickfosso6624
    @patrickfosso6624 10 месяцев назад

    delicious content, you are the best

  • @jateenbhagat5496
    @jateenbhagat5496 27 дней назад

    All good!!

  • @shekhar1497
    @shekhar1497 9 месяцев назад

    Thank You sir

  • @SagarSureliya
    @SagarSureliya 10 месяцев назад

    all good!! 😀

  • @ayat_middya
    @ayat_middya 10 месяцев назад

    Hi Sir jii, really all good😊

  • @santhoshchandran6952
    @santhoshchandran6952 10 месяцев назад

    Thanks Abhi ❤

  • @ManishSingh-nd3zf
    @ManishSingh-nd3zf 9 месяцев назад

    All Good Abhilash Sir ji

    • @SeleniumExpress
      @SeleniumExpress  9 месяцев назад

      You are halfway through. That's makes me happy ☺️

  • @karthibaby7766
    @karthibaby7766 10 месяцев назад

    Very clear bro , please post atleast 2 videos in a week .. when will be the next video uploaded?

  • @someshwarreddydasari6745
    @someshwarreddydasari6745 9 месяцев назад

    All good!

  • @debiprasaddash654
    @debiprasaddash654 10 месяцев назад

    Amazing content sir. Sir i have a request if possible please create some video on one to one , many to many mapping concepts in data jpa.
    it will be helpfull.

  • @dev7917
    @dev7917 10 месяцев назад

    All good 👍

  • @omkarmayekar8296
    @omkarmayekar8296 10 месяцев назад

    Wonderful.

  • @jakejhonson16
    @jakejhonson16 8 месяцев назад

    All done

  • @Vithal_Nivargi
    @Vithal_Nivargi 7 месяцев назад

    Hi, please make one dedicated video on core java only.
    Thank you ❤

  • @rahulbhatanagar6175
    @rahulbhatanagar6175 10 месяцев назад

    First Comment 🤩, best content

  • @murarkar-srikanth
    @murarkar-srikanth 10 месяцев назад

    All good

  • @laxmanraghavraju372
    @laxmanraghavraju372 10 месяцев назад

    Great insights❤❤

  • @mayuripatil5530
    @mayuripatil5530 5 месяцев назад

    All Good

  • @arjunvetal2274
    @arjunvetal2274 10 месяцев назад

    all good

  • @bharathkumarcp7046
    @bharathkumarcp7046 10 месяцев назад

    Good❤❤

  • @srikanthkolisetty5921
    @srikanthkolisetty5921 10 месяцев назад +1

    abhilash in microservices how a client knows about which end point it should hit the eureka server either eureka/apps or eureka/apps/delta? it is the server can know right

  • @gopalkrishan4336
    @gopalkrishan4336 10 месяцев назад

    Another feather in cap.. kudos to you..
    One request.. please make a more detailed and dedicated video on @EnableAutoConfiguration annotation.. as I m still confused..as IOC is created by run method..then what's the use of it??
    Also, does any spring boot application cannot run without run method??... Even FAT Kars?

  • @devendrayadav1983
    @devendrayadav1983 10 месяцев назад

    Your content is really good and easy to understand. Love your videos. I am facing a weird problem for several days and I am not finding any solution for it. Can you please make a video on that? I created a spring boot app using thymeleaf as view technology. When I run it from IDE, it works perfectly fine. But when I run it from cmdlline using java -jar .. cmd then when I open the app in browser I get "org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/fragments/header], template might not exist or might not be accessible by any of the configured Template Resolvers (template: "home" - line 10, col 7)" this error. Why thymeleaf templates are not getting resolved when run from cmdline but works fine from IDE?

  • @srinivasperuri2189
    @srinivasperuri2189 10 месяцев назад

    Abhilash how can i master concepts like you in depth .some suggestions please
    I'm biggest fan of ur videos.i completed almost all youtube videos of urs

  • @praveenapeetha9750
    @praveenapeetha9750 10 месяцев назад

    Please make a videos on Dsa with java

  • @sais7065
    @sais7065 9 месяцев назад

    🔥

  • @sachinpanchal263
    @sachinpanchal263 2 месяца назад

    Everything is good!! but needed shorter version please

  • @chaitanyavss730
    @chaitanyavss730 10 месяцев назад

    Amazing content and explaination. Thank u for the video, one small suggestion is please use light theme as it is more legible in small screens as well😊

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад

      Thank you, Chaitanya ! Sure, I will keep your suggestion in mind. 😊

  • @devakichaitanya4298
    @devakichaitanya4298 8 месяцев назад

    Plz make a video on spring Restful APIs

  • @hiteshsharma9192
    @hiteshsharma9192 2 месяца назад

    I am very confusing between spring and springboot. In spring boot we simply create bean by using autowire annotation and component annotation and in spring we can create bean by xml , cofig class and in xml we can use constructor arg property then two type of dependency injection are there in spring constructor injection and property injection i am confuesing which one is for springboot and which one is for spring how depencncy injection work in spring boot

  • @nitinchoudhary9015
    @nitinchoudhary9015 10 месяцев назад

    abhilash all good

  • @bbkrishnareddy8886
    @bbkrishnareddy8886 10 месяцев назад

    Even I have attached an interview in 2022 this question was asked to me interviewer company TCS

  • @immortalhuman7085
    @immortalhuman7085 10 месяцев назад

    Does manifest file need to have any order for its contents?

  • @dineshgupta835
    @dineshgupta835 10 месяцев назад

    How to access resources it shows file not found can u please help me with a video thank you

  • @nandakishore7580
    @nandakishore7580 10 месяцев назад +1

    Hi Abhilash, I created springboot jar like this but not using the plug in that you have mentioned. Is it possible with Maven compiler plugin.. If we use spring initializer to create springboot project, will it take care to add plug-in that you have mentioned

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад +1

      Hi Nanda,
      When you download a spring Boot project from spring Initializer, this plugin will automatically come.
      As we have built this project from scratch , I didn't have this plugin.

    • @jnagavarshith48
      @jnagavarshith48 10 месяцев назад +1

      ​@@SeleniumExpresshi Abhilash thanks for the great content as usual. But In my case jar is only getting created when I create the project from scratch using maven if use spring initialiser tha jar is not getting created but instead when I use mvn install command to create the jar the project is directly running but there is no jar in the target folder.

    • @jnagavarshith48
      @jnagavarshith48 10 месяцев назад +1

      Please do reply on this when u have time. Thank you very much for the lovely content again 🎉

  • @aw703
    @aw703 10 месяцев назад

    Sir please upload the video for this week

  • @user-hy4fg9xk7t
    @user-hy4fg9xk7t 10 месяцев назад

    If I will use spring initializer. This plugin comes autmoatically with zip project?

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад

      Yes, This plugin will come with your spring Boot project when download from spring Initializer.

  • @ajayjayswal9139
    @ajayjayswal9139 10 месяцев назад

    Jar file not read property file? For port number?
    Because app run 9090 and jar run 8080 or manual u change?

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад

      I didn't set server port to 9090 through properties file. If you watch the last session, you will see that I have changed the server port through the run configuration. That's why when I run the application through ide, my app was running on port 9090.
      But when I ran it through the Java -jar command, it picks the default Port 8080.
      If you have kept server.port to 9090 in the properties file, it will pick the same when lunching the jar through command line.

    • @immortalhuman7085
      @immortalhuman7085 10 месяцев назад

      I think through var args he passed the port to application to start on that port. We can pass spring valid statements like server.port with program args using command line.

  • @sohangour801
    @sohangour801 10 месяцев назад

    please make a 4k videos

  • @yatendra__singh
    @yatendra__singh 10 месяцев назад

    How you got bhaiya so much deep knowledge about whole java and framework...pls reveal the truth🙏🙏

    • @UmarFarooq-un6jm
      @UmarFarooq-un6jm 10 месяцев назад

      Books , they are always going to give you better understanding than a video tutorial

  • @ManishSingh-nd3zf
    @ManishSingh-nd3zf 10 месяцев назад

    Sir if u have paid course please tell me extremely great

  • @harishankermishra6568
    @harishankermishra6568 10 месяцев назад

    How I manage the logs of application when run like this

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад

      Your logs will be on the terminal.
      But with some configuration you can store your logs inside a folder. For eg we can set a rolling policy.

    • @harishankermishra6568
      @harishankermishra6568 10 месяцев назад

      @@SeleniumExpress could you please explain this!🙏

  • @debiprasaddash654
    @debiprasaddash654 10 месяцев назад

    Sir when we except the next video.

  • @hanumanthukuruba4061
    @hanumanthukuruba4061 10 месяцев назад

    Next video when will you make that bro

  • @jakejhonson16
    @jakejhonson16 8 месяцев назад

    All done

  • @akhileshyaduwanshi6008
    @akhileshyaduwanshi6008 9 месяцев назад

    All good!

  • @santhoshchandran6952
    @santhoshchandran6952 10 месяцев назад

    All good

  • @AjayGupta-ob8oe
    @AjayGupta-ob8oe 9 месяцев назад

    All Good

  • @DevanshSharma-qf2dk
    @DevanshSharma-qf2dk 10 месяцев назад

    all good

  • @ramanroy4448
    @ramanroy4448 8 месяцев назад

    All good

  • @katrinasmith8019
    @katrinasmith8019 5 месяцев назад

    all good

  • @srikanthkolisetty5921
    @srikanthkolisetty5921 10 месяцев назад +1

    All good

    • @SeleniumExpress
      @SeleniumExpress  10 месяцев назад +1

      Glad to hear,Srikanth. Did you complete the entire session? Let me know if the second half made sense 🙂

    • @srikanthkolisetty5921
      @srikanthkolisetty5921 10 месяцев назад +1

      @@SeleniumExpress yes I had completed the entire session and the second alf made sense.
      Abilash would like to connect with you over linkedin