All Projects → dragontree101 → spring-boot-demo

dragontree101 / spring-boot-demo

Licence: other
使用spring-boot的简单代码库,方便以后copy代码

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-boot-demo

helloworld-web
Hello World web application in 39 different ways in Java
Stars: ✭ 18 (-25%)
Mutual labels:  jersey, spring-mvc
Valley-eCommerce-prototype
An eCommerce website prototype with a layered architecture and MVC using Spring Boot v1.2, Spring Security, Hibernate, and Apache Lucene for full-text searching. for front-end: Bootstrap, Typeahead.js and Graph.js using Thymeleaf as RE.
Stars: ✭ 28 (+16.67%)
Mutual labels:  spring-mvc
ChatbotHotel
A Chatbot demo for DialogFlow (Formerly called API.AI)
Stars: ✭ 34 (+41.67%)
Mutual labels:  tutorial-code
IDEAPractice
Java练习 - Java基础知识,面试题,小demo,长期积累 | intellij idea + maven + tomcat
Stars: ✭ 45 (+87.5%)
Mutual labels:  spring-mvc
Library-Spring
The library web application where you can borrow books. It's Spring MVC and Hibernate project.
Stars: ✭ 73 (+204.17%)
Mutual labels:  spring-mvc
Spring-SpringMVC-MyBatis-Maven
这是平时基于Maven的用于spring整合相关内容的学习demo
Stars: ✭ 74 (+208.33%)
Mutual labels:  spring-mvc
rate-my-cat
Sample application for the book "Mastering Software Testing with JUnit 5"
Stars: ✭ 23 (-4.17%)
Mutual labels:  spring-mvc
mybatis
Mybatis study
Stars: ✭ 66 (+175%)
Mutual labels:  spring-mvc
pdf-sign-check
A java / spring boot application to help you sign and check signed pdf documents
Stars: ✭ 81 (+237.5%)
Mutual labels:  spring-mvc
spring-webclient-webtestclient-demo
Spring 5 Reactive WebClient and WebTestClient Demo
Stars: ✭ 47 (+95.83%)
Mutual labels:  spring-mvc
spring-boot-web-application-sample
Real World Spring Boot Web Application Example with tons of ready to use features
Stars: ✭ 143 (+495.83%)
Mutual labels:  spring-mvc
zero-to-graphql-using-elixir
The purpose of this example is to provide details as to how one would go about using GraphQL with the Elixir Language.
Stars: ✭ 20 (-16.67%)
Mutual labels:  tutorial-code
SwaggerOfflineDoc
基于SpringBoot和Swagger2生成离线文档:PDF和Html5格式
Stars: ✭ 42 (+75%)
Mutual labels:  spring-mvc
spring-batch-rest
REST API for Spring Batch using Spring Boot 2.2
Stars: ✭ 85 (+254.17%)
Mutual labels:  spring-mvc
spring-data-rest-jpa-example
Spring Data REST and JPA Example
Stars: ✭ 31 (+29.17%)
Mutual labels:  spring-mvc
Spring5Tutorial
Spring 文件的範例資源
Stars: ✭ 36 (+50%)
Mutual labels:  spring-mvc
examonlinesystem
基于SSM框架开发的一款在线考试系统。An online examination system with ssm framework in Java Language
Stars: ✭ 27 (+12.5%)
Mutual labels:  spring-mvc
shortest-tutorial-ever
A list of the shortest tutorials ever.
Stars: ✭ 14 (-41.67%)
Mutual labels:  tutorial-code
aws-lambda-servlet
AWS Lambda adapter for Java's Servlets (and Jersey in particular, JAX-RS implementation)
Stars: ✭ 24 (+0%)
Mutual labels:  jersey
spring-hateoas-demo
Spring Hateoas Hypermedia RESTful web service demo
Stars: ✭ 19 (-20.83%)
Mutual labels:  spring-mvc

项目简介:


##这个项目主要的目的是为了能够帮助新人快速使用springboot来构建项目, 目前项目中使用的springboot的版本是1.4.1.RELEASE

项目目前由几个模块组成:

mvc模块

这个模块主要是基于spring-mvc所实现的后端业务逻辑接口类,里面用到了jdbc(用于访问数据库)、redis(用于缓存一些数据)、security(用于简单的权限控制)三个常用的组件

jdbc模块

这个模块主要是提供了一些jdbc的配置,并且封装一些配置数据源逻辑的操作, 并且提供的了多数据源的动态配置类,这个模块主要是供给mvc模块使用

redis模块

这个模块主要是提供了redis缓存的配置, 并且结合了spring-cache来使用redis,目前这个模块是提供给spring-mvc模块使用

security模块

这个模块主要是简单使用spring-boot-starter-security来完成简单的认证逻辑, 其中是简单的通过数据库进行了用户名、密码和权限角色的管理, 这个模块暂时只能用于spring-mvc的模块,不能使用于jersey的模块

no-mvc模块

这个模块主要是简单介绍如何通过springboot来完成非mvc的代码逻辑,比如处理一些脚本任务、统计任务和定时任务

jersey模块

这个模块主要是基于jersey框架来来完成后端业务逻辑接口类, 里面基于jpa+hibernate来作为数据库访问的框架,然后打算使用keycloak来做一些简单的权限控制功能(因为jersey和security模块貌似不能很好的集成),但是由于spring-boot从1.4.0.RELEASE版本以后,打包的插件打出来的jar包目录形式发生了改变,导致jersey不兼容,从而直接通过java -jar的方式启动会失败

hibernate模块

这个模块主要是提供了jpa + hibernate的操作数据库,由于springboot升级到了1.4.0.RELEASE,所以默认的hibernate也使用了hibernate 5(可能会导致一些与hibernate 4不兼容的地方),目前这个模块是提供给jersey模块使用

web模块

这个模块主要是提供了简单的前端界面,主要是为了配合keycloak来进行oauth2的认证和测试。目前jersey模块的认证准备基于keycloak来进行 启动之后在http://localhost:8087就可以访问到web页面了

dockerfile模块

这个模块准备把依赖的基础服务mysql、redis、nginx、keycloak部署到docker里面,方便部署,顺便简单学习一下docker的使用

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].