Git Product home page Git Product logo

ssm's Introduction

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

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


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


SSM

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

有任何问题和欢迎Issues

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

最近好几位朋友咨询我关于项目Clone下来之后找不到CheckReqNo.java之类的问题

这是由于我再项目中有依赖 https://github.com/crossoverJie/SSM-REQUEST-CHECK 去重插件。 以及 https://github.com/crossoverJie/SSM-DUBBO-HTTP 这个dubbo日志拓展插件。

解决方案:


联系作者

weixinchat.jpg

基于annotation的http防重插件

博客地址:SSM(十四) 基于annotation的http防重插件

掘金地址:https://juejin.im/post/59255a2ca22b9d0058aaba4a

插件地址:https://github.com/crossoverJie/SSM-REQUEST-CHECK

效果实例:

封面.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

ssm's People

Contributors

crossoverjie avatar ordinaryyzh avatar spider523755877 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.