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
Document
Expansion pack
Support redis connection
Encapsulates Email, MD5, AES and other tool classes and integrates hutool
Simple comparison
| name | AOP | IOC | MVC | ORM | configuration file | startup method |
| Mars-java | OK | OK | OK | Mybatis,JDBCTemplete | Only one and supports remote configuration | Main Method |
| Springboot | OK | OK | OK | Support most mainstream frameworks | Only one and supports remote configuration | Main Method,War+Tomcat |
Contact
If you are interested in this framework, you can add my QQ group:773291321


