質問 26. Where can you define properties in Spring Boot application?
You can define properties of Spring Boot into a file called application.properties. It helps you to create this file manually, or you can use Spring Initializer to create this file.
役に立ちましたか?
コメントを追加コメントを見る
質問 27. What are embedded containers support by Spring?
Spring Boot support the main three embedded containers:
Tomcat
Jetty
Undertow.
By default, it uses Tomcat as an embedded container.
役に立ちましたか?
コメントを追加コメントを見る
質問 28. Explain thymeleaf in Spring Boot.
Thymelaf is a server-side Java template engine for a web application. It helps you to bring elegant natural templates to your web application.
Spring Boot offers various properties which can be specified inside our project’s application.properties file. It helps you to set values like a server-port number, database connection configuration, etc.
役に立ちましたか?
コメントを追加コメントを見る
質問 30. What is the main difference between JPA and Hibernate?
The main difference between both of them is that JPA is a specification/Interface, whereas Hibernate is only JPA implementations.