Java
文章平均质量分 52
git_DingSJ
这个作者很懒,什么都没留下…
展开
-
POI 解析Excel
The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF...转载 2020-01-02 14:40:50 · 246 阅读 · 0 评论 -
linux 暴露端口号
Redhat Linux 开启防火墙及开发端口开启防火墙:chkconfig iptables onservice iptables start查看3306端口是否打开:lsof -i:3306开放3306端口:iptables -I INPUT -i eth0 -p tcp --dport 3306 -j ACCEPTiptables -I OUTPUT -o eth0 -p ...转载 2019-10-17 18:08:07 · 3356 阅读 · 0 评论 -
Java 正则表达式
原文地址:http://w3cschool.codecloud.net/java/java-regular-expressions.html#javaJava 正则表达式正则表达式定义了字符串的模式。正则表达式可以用来搜索、编辑或处理文本。正则表达式并不仅限于某一种语言,但是在每种语言中有细微的差别。Java正则表达式和Perl的是最为相似的。java.util转载 2016-06-25 15:36:31 · 509 阅读 · 0 评论 -
单例设计模式
方式一: 饿汉式 简单直接,不用class Single{ private static final Single s = new Single(); private Single(){} public static Single getSingle(){ return s; }}方式二: 懒汉式(1) 存在安全问题class Single原创 2016-06-26 15:32:30 · 320 阅读 · 0 评论 -
windows7本地部署两套Tomcat环境
win7本地环境部署两套tomcat环境原创 2016-11-20 14:04:55 · 2464 阅读 · 0 评论 -
Springboot 实现 Spring AOP 操作
步骤一:创建springboot web 工程然后 pom 文件中引入 Spring AOP 相关包:<dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId></dependency><d...原创 2019-06-20 12:50:57 · 157 阅读 · 0 评论 -
SpringBoot整合Dubbo
本文主要记录了springboot整合dubbo实现服务调用的过程及遇到的问题处理办法用到的组件 :SpringbootDubboDubbo AdminZookeeper简介:Springboot 和Dubbo整合在一起作为 服务的提供者和消费者的基础框架,文中中只是实现一个最简单的服务调用过程,不涉及任何业务逻辑、数据库、安全、缓存等组件,甚至日志组件能不用就没有使用。 文中使...原创 2019-09-12 20:05:43 · 1046 阅读 · 0 评论