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

Опубликовано: 29 Сентябрь 2024
на канале: Selenium Express
13,740
579

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
https://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 questions and answers ...  

Watch Spring boot Hot topics
   • @Reposicotry Vs @Service | Spring Boo...  

Java Interview / Question and Answer series
   • Java collections interview questions ...  

Explain spring Bean Lifecycle
   • REAL-TIME: Spring Bean life cycle usi...  

spring core
   • Spring framework tutorial for beginne...  

spring mvc
   • Spring MVC course introduction || Und...  

spring mvc intermediate
   • [INTERMEDIATE] Spring MVC Course Prev...  

Spring JDBC
   • Spring JDBC Course Preview || Let’s t...  

spring live project
   • #1 Build and Deploy A Spring Project ...  

SPRING SECURITY COURSE[NEW]
   • Spring Security Course Preview | Lear...  

For more courses visit
https://www.seleniumexpress.com

Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]

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
https://www.seleniumexpress.com

Subscribe to my youtube channel

   / @seleniumexpress  

Follow me on Insta
  / selenium_express