VMware vRealize Automation 8.x (2022) — Question 71
Which two statements are true regarding a Spring Boot "fat" JAR? (Choose two.)
Answer options
- A. The "fat" JAR contains both the class files and the source files for your project.
- B. The "fat" JAR requires an external Servlet container.
- C. The "fat" JAR contains compiled classes and dependencies that your code needs to run.
- D. The "fat" JAR can contain multiple embedded application servers.
- E. The "fat" JAR is created by the Spring Boot Maven plugin or Gradle plugin.
Correct answer: C, E
Explanation
The correct answers, C and E, are true because a 'fat' JAR includes all necessary compiled classes and dependencies, and it is created using the Spring Boot build tools. Options A and B are incorrect as the 'fat' JAR does not include source files, nor does it require an external Servlet container since it can run independently with embedded servers.