上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: https://blog.csdn.net/aaa1117a8w5s6d/article/details/8295527 1.线程安全问题都是由全局变量及静态变量引起的。但是,如果每个线程中对全局变量、静态变量只有读操作,而无写操作,一般来说,这个全局变量是线程安全的;如果有多个线程同时执行写操作, 阅读全文
posted @ 2019-07-27 13:46 Andrew_F 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 使用IDEA搭建Maven项目导入架包时, 添加net.sf.json的jar包的时候,代码如下: 在pom.xml文件时: <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> <vers 阅读全文
posted @ 2019-07-19 16:10 Andrew_F 阅读(627) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/liangoo7/article/details/7882773 阅读全文
posted @ 2019-07-15 19:53 Andrew_F 阅读(4118) 评论(0) 推荐(0) 编辑
摘要: public static boolean isRowEmpty(Row row) { for (int c = row.getFirstCellNum(); c < row.getLastCellNum(); c++) { Cell cell = row.getCell(c); if (cell != null && cell.getCellType()... 阅读全文
posted @ 2019-07-15 19:52 Andrew_F 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yaomingyang/article/details/79321939 序列化是一种用来处理对象流的机制。 所谓对象流:就是将对象的内容进行流化。可以对流化后的对象进行读写操作,也可将流化后的对象传输于网络之间。 序列化是为了解决在对对象流进行读写操作时 阅读全文
posted @ 2019-07-14 16:17 Andrew_F 阅读(216) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/luckyyang/p/9517402.html 阅读全文
posted @ 2019-07-08 15:49 Andrew_F 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 一个数据源可能是一个连接池,也可能只是一个Connection,通过JDBC方式提供Connection的数据来源,都可以称为数据源。 数据源可能是连接mysql也可能是sql server 或oracle///一个连接池吗,就是一个连接池里同时有若干个Connection,一般一个池里的Conne 阅读全文
posted @ 2019-07-07 12:21 Andrew_F 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-06 17:19 Andrew_F 阅读(343) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dingjiaoyang/p/5831049.html 阅读全文
posted @ 2019-07-05 16:58 Andrew_F 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 使用@PostConstruct注解修饰的方法会在服务器加载Servlet时运行,并且只会执行一次,在构造函数之后,在init方法之前执行; 执行的顺序一次是:构造函数--》autowired依赖注入实例--》postConstruct--> 阅读全文
posted @ 2019-07-03 15:21 Andrew_F 阅读(787) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页