A.首先需要搭建SpringMVC+Shiro环境

a1.pom.xml配置
 spring:

 org.springframework

spring-webmvc
    4.1.0.RELEASE


    org.springframework
    spring-aop
    4.1.0.RELEASE


    org.springframework
    spring-jdbc
    4.1.0.RELEASE


    org.springframework
    spring-context-support
    4.1.0.RELEASE


    org.aspectj
    aspectjweaver
    1.8.7

 Mybatis:


    org.mybatis
    mybatis
    3.3.0


    org.mybatis
    mybatis-spring
    1.2.3


    jdbc.driver
    oracle.n
    12.1.0.1.RELEASE


    c3p0
    c3p0
    0.9.1.2

JSON转换,Bean转换,加密,文件上传,日志记录等相关工具:


    com.fasterxml.jackson.core
    jackson-core
    2.6.3


    com.fasterxml.jackson.core
    jackson-databind
    2.6.3


    net.sf.json-lib
    json-lib
    2.2.2-jdk15


    net.sf.ezmorph
    ezmorph
    1.0.6


    commons-codec
    commons-codec
    1.9


    commons-beanutils
    commons-beanutils
    1.7.0


    commons-collections
    commons-collections
    3.2


    commons-lang
    commons-lang
    2.4


    commons-fileupload
    commons-fileupload
    1.3.1


 org.slf4j
 slf4j-log4j12
 1.7.7

shiro:


    org.apache.shiro
    shiro-core
    1.2.2


    org.apache.shiro
    shiro-web
    1.2.2


    org.apache.shiro
    shiro-spring
    1.2.2

a2.web.xml配置

 



    webAppRootKey
    reedws



    mvc
    org.springframework.web.servlet.DispatcherServlet
    
        contextConfigLocation
        classpath:spring/spring-mvc.xml
    
    1


    mvc
    /




    log4jConfigLocation
    classpath:log4j.properties


    org.springframework.web.util.Log4jConfigListener




    contextConfigLocation
    classpath:spring/spring-mybatis.xml,classpath:spring/spring-service.xml,classpath:spring/spring-shiro.xml


    org.springframework.web.context.ContextLoaderListener




    org.springframework.web.util.IntrospectorCleanupListener




    encoding
    org.springframework.web.filter.CharacterEncodingFilter
    
        encoding
        GBK
    


    encoding
    /*




    shiroFilter
    org.springframework.web.filter.DelegatingFilterProxy
    
        targetFilterLifecycle
        true
    


    shiroFilter
    /*
 
  
 
  

核心技术:Maven,Springmvc mybatis shiro, Druid, Restful, 

Dubbo, ZooKeeper,Redis,FastDFS,ActiveMQ,Nginx 
1.     项目核心代码结构截图

   项目模块依赖


特别提醒:开发人员在开发的时候可以将自己的业务REST服务化或者Dubbo服务化

2.    项目依赖介绍

   2.1 后台管理系统、Rest服务系统、Scheculer定时调度系统依赖如下图:

 



       2.2 Dubbo独立服务项目依赖如下图:

 

3.  项目功能部分截图:

 

 

 

 

 

 



zookeeper、dubbo服务启动 

 



dubbo管控台 

 

 

 

 

 

 

 REST服务平台