If spring struts hibernate/ibatis is too large, you can use some of the following lightweight frameworks
Jfinal
http://www.jfinal.com/
Brief introduction:
Jfinal is a fast WEB + ORM framework based on the Java language, and its core design goals are rapid development, low code, simple learning, powerful, lightweight, easy to expand, Restful. With all the advantages of the Java language, we have the development efficiency of Ruby, Python, PHP and other dynamic languages.
Jfinal has the following main features:
1.MVC Architecture, compact design, easy to use
2. Follow the COC principle, 0 configuration, no XML
3. Unique DB + record mode, flexible and convenient
4.ActiveRecord support to make database development extremely fast
5. Automatically load the modified Java file without restarting the Web server during development
6.AOP support with flexible interceptor configuration and powerful features
7.Plugin Architecture, strong extensibility
8. Multi-view support, support Freemarker, JSP, Velocity
9. Powerful validator back-end Check function
10. Fully functional, with most functions of struts2
11. Small size only 248K, and no third-party dependence
Nutz
Http://nutzam.com/index.html
For Java programmers, there may be another option in addition to SSH: Nutz
Of course, it's open source, and it's completely free.
Online javadoc:http://www.ostools.net/apidocs/apidoc?api=nutz-1.b.44
Compared with the traditional SSH, it has the following features:
Light-current latest version, total 820k for the entire JAR file
Thin-thin package for JDBC, no cache
Full--provides the necessary functions of Dao (ORM, SQL Management), Ioc, Aop, MVC, JSON parsing, etc.
Live – Parts can be used independently, such as using Nutz.dao in Spring, such as Hibernate in NUTZ.IOC, etc.
Whole-it does not rely on third-party jar files for all its functions.
Java Optional Lightweight framework