问题 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.