会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xu_shuyi
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
18
19
20
21
22
23
24
25
26
···
41
下一页
2017年4月15日
026——传统架构与前后端分离架构分析对比
摘要: 微店项目技术框架是采用前后端分离模式。前端采用angularjs分层技术框架的基于纯H5开发模式,后端采用的是springmvc分层技术框架的开发模式,前后端交互采用的是http通讯+json数据对象模式。 无论是前端还是后端都遵循mvc分层模式开发,这样的前后端分离及分层模式,降低了系统各部件间的
阅读全文
posted @ 2017-04-15 15:19 xu_shuyi
阅读(6782)
评论(0)
推荐(0)
2017年4月14日
SpringCloud(4)—— EntityManage 分页解决方案
摘要: 由于数据库运用的MySQL,采用分页机制是满足MySQL需求的 废话少说,上代码 1、不采用Pageable对象分页,实际原理运用 MySQL中的limit分页功能 2、将查询结果map转换为实体类对象
阅读全文
posted @ 2017-04-14 12:44 xu_shuyi
阅读(2418)
评论(1)
推荐(0)
2017年4月12日
JAVA编码(47)—— Java计算经纬度工具类(重要)
摘要: package com.sinosoft.common; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import org.apache.log4j.Logger; import java.io.BufferedReader; import java.io.IOException;...
阅读全文
posted @ 2017-04-12 20:45 xu_shuyi
阅读(1006)
评论(0)
推荐(0)
JAVA编码(46)—— Java常用校验工具类(重要)
摘要: package com.sinosoft.common; import com.sinosoft.dto.common.RequestInfo; import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWr...
阅读全文
posted @ 2017-04-12 20:43 xu_shuyi
阅读(756)
评论(0)
推荐(0)
JAVA编码(45)—— Java日期工具类(重要)
摘要: package com.sinosoft.common; import org.apache.commons.lang3.StringUtils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import...
阅读全文
posted @ 2017-04-12 20:42 xu_shuyi
阅读(212)
评论(0)
推荐(0)
JAVA编码(44)—— Java获取字符串pinyin(重要)
摘要: package com.sinosoft.common; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat...
阅读全文
posted @ 2017-04-12 20:41 xu_shuyi
阅读(283)
评论(0)
推荐(0)
JAVA编码(43)—— Java对象之前的相互转换(重要)
摘要: 1、相同类的互转(属性相同) 2、Map转为POJO对象 当然通过Gson也是可以的
阅读全文
posted @ 2017-04-12 20:37 xu_shuyi
阅读(137)
评论(0)
推荐(0)
2017年4月11日
GitLab(2)——Idea 本地项目上传到GitLab
摘要: 1、选择VCS->Import into Version Control->Create Git 2、现将项目提交到本地环境仓库 选择 Commit 就是提交到本地仓库环境,选择Commit and Push 就是先自动提交到本地,然后提交到远程git环境 3、第一次将项目分享到远程git仓库,操作
阅读全文
posted @ 2017-04-11 09:31 xu_shuyi
阅读(2518)
评论(0)
推荐(0)
GitLab(1)——GitLab创建Project
摘要: 登录GitLab 然后
阅读全文
posted @ 2017-04-11 09:27 xu_shuyi
阅读(125)
评论(0)
推荐(0)
2017年4月9日
JAVA编码(42)—— 线程池队列执行任务(ThreadPoolQueue)(2)
摘要: 1. ThreadPoolExecutor的一个常用的构造方法 参数说明: -corePoolSize 线程池中所保存的核心线程数。线程池启动后默认是空的,只有任务来临时才会创建线程以处理请求。prestartAllCoreThreads方法可以在线程池启动后即启动所有核心线程以等待任务。 -max
阅读全文
posted @ 2017-04-09 21:25 xu_shuyi
阅读(181)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
41
下一页
公告