Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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
This repository was archived by the owner on Dec 25, 2019. It is now read-only.
/SSMPublic archive

💕 build SSM from 0 👉🏽👉🏽 distributed micro service.

License

NotificationsYou must be signed in to change notification settings

crossoverJie/SSM

Repository files navigation



中文简介

I'll update some skills in actual development aperiodically.There are no complicated operation flows orxxx system,just some practical shares about skills.

Directory Structure

├── SSM-API                                    // common API  │   ├── src/main│   ├── ├──java/com/crossoverJie               // specific code。  │   ├── ├──resources├── SSM-BOOT                                   // Availablefor internal use of dubbo dependencies │   ├── ├──resources/spring                    // dubbo consumer configuration├── SSM-SECONDS-KILL                           // seckill module│   ├── ├──SSM-SECONDS-KILL-API                // seckill open api│   ├── ├──SSM-SECONDS-KILL-ORDER-CONSUMER     // Kafka consumer module│   ├── ├──SSM-SECONDS-KILL-SERVICE            // service module│   ├── ├──SSM-SECONDS-KILL-WEB                // web module├── SSM-SERVICE                                // The service implementation of the dubbo application │   ├── src/main│   ├── ├──java/com/crossoverJie/api           // specific code│   ├── ├──├──controller                       // Heartbeat detection interface│   ├── ├──├──dubbo                            // Dubbo related code│   ├── ├──├──├──dao                           // dao package│   ├── ├──├──├──pojo                          // pojo package│   ├── ├──├──├──service                       // service package│   ├── ├──├──├──util                          // Toolkit│   ├── ├──├──impl                             // implement dubbo API│   ├── ├──resources                           // configuration file│   ├── ├──├──mapping                          //*.mapper configuration file│   ├── ├──├──spring                           // Spring related configuration file├── SSM-WEB                                    // web application│   ├── src/main│   ├── ├──java/com/crossoverJie               // specific code│   ├── ├──├──controller                       // controller package│   ├── ├──├──cxf                              // CXF related code│   ├── ├──├──dao                              // dao package│   ├── ├──├──enums                            // enum package│   ├── ├──├──intercept                        // Interceptor│   ├── ├──├──kafka                            // Kafka│   ├── ├──├──├──official                      // Official consumption│   ├── ├──├──├──optimization                  // Multi-threaded consumption│   ├── ├──├──lucene                           // Lucene related code│   ├── ├──├──pojo                             // pojo package│   ├── ├──├──req                              // request package│   ├── ├──├──res                              // response package│   ├── ├──├──service                          // service pachage│   ├── ├──├──shiro                            // shiro related code│   ├── ├──├──util                             // Toolkit│   ├── ├──├──vo                               // vo package│   ├── ├──resources│   ├── ├──├──mapping                          //*.mapper configuration file│   ├── ├──webapp                              // front code├── doc│   ├──lucene                                  // lucene related code│   ├──sql                                     // sql scripts├── .gitignore                                 // gitignore ├── pom.xml                                    // parent pom├── LICENSE               ├── README.md

TODO LIST


Quick Start

  1. Import SQL Script

https://github.com/crossoverJie/SSM/tree/master/doc/sql

Q&A

Does the reliance or code that begins withcrossoverJie do not exist?

This is because I have a dependency on my jar package in the project, which is not published to the maven central factory library.

Because there is dependence:

https://github.com/crossoverJie/SSM-REQUEST-CHECK

https://github.com/crossoverJie/SSM-DUBBO-HTTP

https://github.com/crossoverJie/SSM-DUBBO-FILTER

jar.

solution:

  • if you do not need them, please remove it.
  • if you need,flow:

https://github.com/crossoverJie/SSM-REQUEST-CHECK

https://github.com/crossoverJie/SSM-DUBBO-HTTP

and Installed locally。


Partial Screenshots

封面.jpg

dubbo-http封面.jpg

2.jpg

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.12017-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=12017-04-25 15:15:39,505 DEBUG [org.mybatis.spring.SqlSessionUtils] - Creating a new SqlSession2017-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 active2017-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 Spring2017-04-25 15:15:39,555 DEBUG [com.crossoverJie.api.dubbo.dao.T_userDao.selectByPrimaryKey] - ==>  Preparing: select id, username, password,roleId from t_user whereid = ? 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: 12017-04-25 15:15:39,616 DEBUG [com.alibaba.druid.pool.PreparedStatementPool] - {conn-10003, pstmt-20000} enter cache2017-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"}

More Information

Contact Author


[8]ページ先頭

©2009-2025 Movatter.jp