Giter VIP home page Giter VIP logo

spring-boot's Introduction

spring-boot

概述

java 语言经过了多年的发展,生态系统完善,完全满足企业级应用。如果技术选型得当,对常用功能组件有积累,可以快速搭建系统,把主要精力放在业务逻辑上。

本项目尝试利用已有的开源项目,经过合理的配置与整合,构建一个常用的框架,项目开发时可以拿来即用,而不必再为选某一种实现而比来比去大费脑筋。

Spring 现在基本上也一统江湖了,只要你想要的解决方案,Spring 基本上都有相关实现,可以多看看他的 项目

我的习惯是,一边学习一边敲代码,读书笔记就用注释写在代码示例里,我只记住我做过什么就可以了,当需要相关功能的时候,到示例里去找,扫一眼代码写法,读一下注释,基本上也就知道怎么编写了。

初学者多读读注释,也算是学习的一个过程。有经验的同学,也帮我指点一下理解的偏差。

随着对相关原理理解的加深,代码在不停的 Refactor,就算是自己的编程经验总结吧。

项目取名为 spring-boot ,意在显式的指出用的是 Spring Boot

这些项目会随着自己的总结,不停的添加和优化,示例也会越来越多。过一阵在 aliyun 上把做好的应用搭建起来,也好有个直观感受。

项目简介

♻️

spring-boot-web

基于 Spring Boot 的 J2EE 开发实践,不发明什么,只是探索一种快速开发体验,开箱即用。主要功能

  • 基于角色的访问控制(RBAC) ,可以任意创建用户、角色并分配菜单权限和资源权限。
  • 用户创建、邮件激活
  • ...

Core

  • spring boot

Data

  • spring data JPA
  • hibernate
  • querydsl(不用, JPA 可代替)

Web

  • spring mvc
  • FreeMarker Template
  • Bootstrap
  • JQuery
  • Ace Admin

Security

  • spring security
  • spring security oauth2

Web Server

  • tomcat
  • jetty

DB Server

  • mysql
  • oracle

Environment

  • Intellij IDEA
  • Maven
  • git

Utils

  • h819 commons
  • Apache Commons
  • Guava

Ask

Test

Chrome,Firefox, Edge, IE

♻️

h819-commons

h819-commons 这是一个基础工具包,能总结出来的都放在这里,可以生成 jar 文件引用到其他项目中,模拟 apache commons 做法,做成一个符合自己需要的工具包。

可以多翻翻代码,里面有各种例子和总结。

值得提到的工具有:

java se commons

Components Description Source
Ftp 可以连接 ftp 和 sftp,支持断点续传,比较文件是否发生变换 /commons
Exec java 执行系统命令 /commons
Pdf Pdf 新建、加密解密、加水印、页数统计、删除指定页等 /commons
QRCode 二维码 /commons
Others 还有一些常用工具,就不列举了 ... /commons

web 工具

Components Description Source Demo
DTOUtils PO to DTO 工具。使用 hibernate 的同学,估计对这个比较挠头,每次转换都费时费力,还容易出错。DTOUtils 可以实现自动转换,截断递归关联,对于级联层次很深的对象,可以指定转换深度。比目前大多数人采用 bean copy 的方案好。这个有时间我写一篇博客,详细说一下。 /web url
Spring JPA spring jpa 动态查询工具,可以动态组装查询条件,自动分页,很好用 /web url
Jqgird Jqgrid 工具类,可以方便的处理查询条件。 /web url
ZTree ZTree java utils ,功能强大,做后台管理用。 /web demo
Fuelux Tree FueluxTree java utils ,ui 很好看,做展示用吧。 /web demo
flexpaper flexpaper 在线文档展示的一种解决方案 /web url
Others 逐步添加 ... /web

♻️

spring-security-oauth

spring security oauth2 , annotation 。需要注意的大坑是,oauth2-server 和 oauth2-resource 不能配置在一起,否则不能出现登录界面。貌似 xml 方式没问题。 配置了很久,没有解决。

  • spring-security-oauth2-server
  • spring-security-oauth2-resource
  • spring-security-oauth2-client

♻️

h819-ztree

ztree java project.

Contact

📧 h81900 at outlook . com

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.