JavaWeb核心
Fighting_mjtao
这个作者很懒,什么都没留下…
展开
-
Spring事务-基于XML
dao层:注意BookShopDao在xml中bean的配置方式,需要有setter方法 package cn.sdut.xml; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; public class Boo...原创 2018-11-03 22:17:51 · 179 阅读 · 0 评论 -
Executors引发的思考
ExecutorService executorService = Executors.newFixedThreadPool(10); A thread pool should be created by ThreadPoolExecutors rather than Executors. These would be make note: Below are the problems cr...原创 2019-08-21 09:46:03 · 224 阅读 · 0 评论