가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독

Spring Boot 면접 질문과 답변

Test your skills through the online practice test: Spring Boot Quiz Online Practice Test

관련 차이점

Ques 6. What are the advantages of microservice?

Following are the major advantages of microservice:
  • It makes development fast and easy.
  • Compatible with all container.
  • Reduce production time.
  • It is a lightweight model that supports a major business application.

도움이 되었나요? Add Comment View Comments
 

Ques 7. Explain different types of dependency injection.

There are two types of dependency injection in Spring Boot. They are as follows:
  • Constructor based dependency injection: It is a technique in which one class object supplies the dependency of another object.
  • Setter-based dependency injection: It is a dependency injection in which the framework injects the primitive and string-based values using setter method.

도움이 되었나요? Add Comment View Comments
 

Ques 8. What are the commands to run and stop Spring Boot executable jar file?

You need to open cmd or shell window command and use
java -jar
To run application:
$ java -jar spring-boot-sample-0.0.1-SNAPSHOT.jar
To stop: 
Press ctrl+C

도움이 되었나요? Add Comment View Comments
 

Ques 9. How can you change JDK version in Spring Boot?

To change the JDK version in Spring Boot, you can overwrite it by adding a java.version property tag as given in pom.xml:

<properties>
<java.version>11</java.version>
</properties>

도움이 되었나요? Add Comment View Comments
 

Ques 10. What is the process that you need to follow to run Spring Boot application on the custom port?

In order to run a Spring Boot application, you require to put server.port property in application.properties. 

For example, server.port=8050

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.
Spring vs Spring BootNodeJS vs Spring BootSpring MVC vs Spring Boot