Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ SSM Public
forked from crossoverJie/SSM

💕 不定期分享JavaWeb方向的技术,长期更新。欢迎发起讨论 Issues

License

Notifications You must be signed in to change notification settings

peaner/SSM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

197 Commits

Repository files navigation

个人博客:http://crossoverJie.top

掘金主页: https://gold.xitu.io/user/576d4aaf7db2a20054ea4544


下期预告---:thought_balloon::thought_balloon::thought_balloon:


SSM

使用Idea搭建的Maven项目,会不定期更新一些在实际开发中使用的技巧(ps:目前不是很忙基本上一周一更)。 没有复杂的业务流程,更不是XXXX系统,只有一些技术的分享。想要学习XX系统的:

有任何问题和欢迎Issues

觉得不错的朋友可以点下star,watch,fork


联系作者

weixinchat.jpg

将dubbo暴露出HTTP服务

博客地址:SSM(十三) 将dubbo暴露出HTTP服务

掘金地址:https://juejin.im/post/5908a811da2f60005d188aee

效果实例:

dubbo-http封面.jpg


dubbo日志插件

博客地址:SSM(十二) 基于dubbo的分布式架构

掘金地址:[https://juejin.im/post/58ff1ab861ff4b006678f9c5)

效果实例:

2017年04月25日 15:15:38,968 DEBUG [com.alibaba.dubbo.remoting.transport.DecodeHandler] - [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation, dubbo version: 2.5.3, current host: 127.0.0.1
2017年04月25日 15:15:39,484 DEBUG [com.crossoverJie.dubbo.filter.DubboTraceFilter] - dubbo请求数据:{"args":[1],"interfaceName":"com.crossoverJie.api.UserInfoApi","methodName":"getUserInfo"}
2017年04月25日 15:15:39,484 INFO [com.crossoverJie.api.impl.UserInfoApiImpl] - 用户查询Id=1
2017年04月25日 15:15:39,505 DEBUG [org.mybatis.spring.SqlSessionUtils] - Creating a new SqlSession
2017年04月25日 15:15:39,525 DEBUG [org.mybatis.spring.SqlSessionUtils] - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6f56b29] was not registered for synchronization because synchronization is not active
2017年04月25日 15:15:39,549 DEBUG [org.mybatis.spring.transaction.SpringManagedTransaction] - JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@778b3121] will not be managed by Spring
2017年04月25日 15:15:39,555 DEBUG [com.crossoverJie.api.dubbo.dao.T_userDao.selectByPrimaryKey] - ==> Preparing: select id, username, password,roleId from t_user where id = ? 
2017年04月25日 15:15:39,591 DEBUG [com.crossoverJie.api.dubbo.dao.T_userDao.selectByPrimaryKey] - ==> Parameters: 1(Integer)
2017年04月25日 15:15:39,616 DEBUG [com.crossoverJie.api.dubbo.dao.T_userDao.selectByPrimaryKey] - <== Total: 1
2017年04月25日 15:15:39,616 DEBUG [com.alibaba.druid.pool.PreparedStatementPool] - {conn-10003, pstmt-20000} enter cache
2017年04月25日 15:15:39,617 DEBUG [org.mybatis.spring.SqlSessionUtils] - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6f56b29]
2017年04月25日 15:15:45,473 INFO [com.crossoverJie.dubbo.filter.DubboTraceFilter] - dubbo执行成功
2017年04月25日 15:15:45,476 DEBUG [com.crossoverJie.dubbo.filter.DubboTraceFilter] - dubbo返回数据{"args":[{"id":1,"password":"123456","roleId":1,"userName":"crossoverJie"}],"interfaceName":"com.crossoverJie.api.UserInfoApi","methodName":"getUserInfo"}

基于dubbo的分布式架构

博客地址:SSM(十一) 基于dubbo的分布式架构

掘金地址:https://juejin.im/post/58e674ec44d904006d35af5c

效果实例:

2.jpg


项目重构-互联网项目的Maven结构

博客地址:SSM(十) 项目重构-互联网项目的Maven结构

掘金地址:https://gold.xitu.io/post/58b98ab01b69e6006b12ab83

效果实例:

1.jpg


反射的实际应用 - 构建日志对象

博客地址:SSM(九) 反射的实际应用 - 构建日志对象

简书地址:http://www.jianshu.com/p/5a23ff31204f

效果实例:

 @Test
 public void insertSelective2() throws Exception {
 Content content = new Content();
 content.setContent("你好");
 content.setContentname("1");
 content.setCreatedate("2016-09-23");
 contentService.insertSelective(content);
 ContentLog log = new ContentLog();
 CommonUtil.setLogValueModelToModel(content, log);
 contentLogService.insertSelective(log);
 }

动态切换数据源

博客地址:SSM(八)动态切换数据源

简书地址:http://www.jianshu.com/p/9d3d92b37c0a

效果实例: 3


在JavaWeb应用中使用Redis

博客地址:SSM(七)在JavaWeb应用中使用Redis

简书地址:http://www.jianshu.com/p/77cd4ae50c8b

效果实例: 01.gif


跨域传输

博客地址:SSM(六)跨域传输 简书地址:http://www.jianshu.com/p/3e3d9a89fafc 效果实例:


基于webSocket的聊天室

博客地址:SSM(五)基于webSocket的聊天室 简书地址:http://www.jianshu.com/p/79faa8af6455 效果实例:


WebService入门详解

博客地址:SSM(四)WebService入门详解 简书地址:http://www.jianshu.com/p/5c2b01aaa7ac 效果实例:


Shiro使用详解

博客地址:SSM(三)Shiro使用详解 简书地址:http://www.jianshu.com/p/6786ddf54582 效果实例: 1


Lucene全文检索

博客地址:SSM(二)Lucene全文检索 效果实例:


SSM架构的整合

博客地址:SSM(一)框架的整合


Open Source Love

About

💕 不定期分享JavaWeb方向的技术,长期更新。欢迎发起讨论 Issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /