VMware vRealize Automation 8.x (2022) — Question 27
What are the two reasons Spring be used to build a Java application? (Choose two.)
Answer options
- A. Spring automates a Java application build.
- B. Spring provides a Dependency Injection container.
- C. Spring automates deployment of Java applications to all of the major cloud providers.
- D. Spring provides comprehensive Java IDE support.
- E. Spring provides abstractions over infrastructure such as persistence and messaging.
Correct answer: B, E
Explanation
The correct answers are B and E because Spring's Dependency Injection container is essential for managing object creation and dependencies, while its abstractions for infrastructure enhance development efficiency by simplifying interactions with databases and messaging systems. The other options, while related to development, do not accurately represent the core functionalities that make Spring beneficial for building Java applications.