Watch 17 Star 44 Fork 13

SherlockHolmes / Mars-javaJavaGPL-3.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Js框架有React,Vue,AngularJS,但java框架只有一个Spring。 很多人说我是重复造轮子,但我不这么认为,所以...是时候挑战Spring了,我希望每个人都能参与其中,贡献代码,让java开发人员有另一种选择 spread retract

Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git

Mars-java is a javaWeb development framework that does not require a container. It uses netty for http service management, supports AOP, IOC, MVC, and integrates Mybatis as a persistence layer. In addition, it provides Mars-config to support remote configuration. Mars-extends to support more features and tools

What can I do

  - http service using netty
  - Session management using JWT
  - Support AOP, IOC, MVC, Mybatis, transaction management
  - Distributed deployment via Mars-cloud
  - Remote configuration via Mars-config [iteration]

What can't I do

  - Only support the main method to start, can not play the war package
  - Can only return json, binary stream to the front end, does not support forwarding and redirection



Expansion pack

Support redis connection

Encapsulates Email, MD5, AES and other tool classes and integrates hutool

Extension package

Simple comparison

name AOP IOC MVC ORM configuration file startup method
Mars-java OK OK OK Mybatis,JDBCTemplete Only one and only supports remote configuration Main Method
Springboot OK OK OK Support most mainstream frameworks Only one and only supports remote configuration Main Method,War+Tomcat


If you are interested in this framework, you can add my QQ group:773291321

My weibo

Comments ( 4 )

You need to Sign in for post a comment

Help Search

Gitee_you_jiang_zheng_wen Zheng_wen_close