Code Monkey home page Code Monkey logo

framework-template's Introduction

项目框架模板

将自己常用的框架、工具类提取出来的一个小demo,可以当做项目模板,在项目启动时,快速构建

各个模块负责各自自己的依赖以及一些公共约定和工具类

###各公共模块功能

  • common 包含一些公共约定,如Exception、返回值
  • common-logger 包含日志工具类
  • common-mybatis 定义了mybatis的公共接口BaseMapper 以及基于BaseMapper的BaseService
  • common-spring 包含一些spring工具类
  • common-springmvc 定义了公共Controller,进行了全局的异常拦截;RateLimitInterceptor限流拦截器
  • common-metrics 集成了dropwizard metrics,可以使用注解对应用进行监控,如果需要使用servlet 查看监控数据的话,需要在web.xml中配置metrics servlet和listener。例子可见web-springmvc-mybatis web.xml

###项目模板

  • web-springmvc-mybatis 一个springmvc+mybatis的模板

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.