摘要: SpringBoot默认的web容器是tomcat,在启动springboot应用的时候,会启动一个嵌入的apache tomcat实例。 当然springboot也支持其他的web容器,比如jetty Spring Framework 从 Spring 3.0 开始支持嵌入式 Tomcat,但直到 阅读全文
posted @ 2015-06-27 16:41 tonglin0325 阅读(180) 评论(0) 推荐(0)
摘要: 通用mabatis-generator可以由mysql表自动生成model类,mapper映射文件和mapper接口,参考:MyBatis通用Mapper和PageHelper 1.依赖 <!-- mybatis --> <dependency> <groupId>tk.mybatis</group 阅读全文
posted @ 2015-06-27 11:32 tonglin0325 阅读(961) 评论(0) 推荐(0)