标签:for tin render jobs under back sse ted SQ
Reloading the changes without restarting the server is called hot swapping, Modern IDEs (Eclipse, IDEA, etc.) all support hot swapping of bytecode, so if you make a change that doesn’t affect class or method signatures it should reload cleanly with no side effects.
//不是affect class or method signatures的话, 举个具体的例子
If you define a @Configuration with @EnableWebSecurity anywhere in your application it will switch off the default webapp security settings in Spring Boot.
//有代码举例更好
Spring Batch auto-configuration is enabled by adding @EnableBatchProcessing (from Spring Batch) somewhere in your context. By default it executes all Jobs in the application context on startup
//有代码举例更好,用在哪里,怎么用
Spring Boot has no mandatory logging dependency, except for the Commons Logging API.
//如何引入, https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
If you put a logback.xml in the root of your classpath it will be picked up from there
// 详细,https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
Spring Boot supports Log4j 2 for logging configuration if it is on the classpath. If you are using the starters for assembling dependencies that means you have to exclude Logback and then include log4j 2 instead
//详细, https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
//log有必要写blog或者github project
//需要比较一下 logback和log4j吗?怎么include log4并且exclude logback
Any Spring @RestController in a Spring Boot application should render JSON response by default as long as Jackson2 is on the classpath
If you have the Jackson XML extension (jackson-dataformat-xml) on the classpath, it will be used to render XML responses
//是不是要比较一下两者? github project
By default Spring Boot configures Spring MVC with a maximum file of 1MB per file and a maximum of 10MB of file data in a single request.
HTTP response compression is supported by Jetty, Tomcat, and Undertow. It can be enabled by adding server.compression.enabled=true in application.properties
// server compression 有什么作用?
There are two ways to add Servlet, Filter, ServletContextListener and the other listeners supported by the Servlet spec to your application. You can either provide Spring beans for them, or enable scanning for Servlet components.
//代码实例?
You can change the tomcat http port by changing default http property in application.properties file.
//具体怎么配置?
Questions on Spring Boot – Part 3
标签:for tin render jobs under back sse ted SQ
原文地址:https://www.cnblogs.com/vicky-project/p/9192910.html