Portal-Basic Java Web Application Development Framework (portal-basic for short) is a fully functional, high-performance full-stack web application development framework, built-in stable and efficient MVC infrastructure and Dao framework (with built-in support for hibernate, mybatis, and JDBC ), integrates basic web application components such as Action interception, form bean/Dao bean/spring bean assembly, internationalization, file upload/download, and cache to provide a highly flexible pure JSP/servlet API programming model, perfect Integration with spring and support for action Convention "Zero Configuration" to quickly develop web applications of traditional and restful stylesProgram, Document andCodeClear and complete, easy to learn.
Portal-basic source code, examples, and documentation resources:Please visit the project homepage ^ _*
Portal-basic features:
1)Complete functions:Built-in MVC infrastructure, support for action interception, form bean/Dao bean assembly, scalable database access interfaces, internationalization, file upload and download, Oscache, memcahced, and other common application components, it can meet the needs of most web applications.
2)Lightweight:Portal-Basic does not encapsulate JSP/Servet APIs too much. Users still use JSP/Servet APIs for development, and there are not many detours. Therefore, the performance is guaranteed. In addition, portal-Basic provides a variety of util classes and methods for JSP/Servet APIs, which are easy to use.
3)Easy to master:Because JSP/Servet APIs are not encapsulated too much, you only need to have certain Java/jsp knowledge to master the use of the framework. In addition, portal-Basic provides an application configuration method similar to struts, allowing you to easily overwrite struts. It also provides a useful reference for you to better understand the principles of the MVC framework.
New Features of portal-Basic 2.6.1:
1. MVC sub-framework upgrade:
1) multi-entry action (request format: http: //.../<action_name>! <Entry_name>. <action_suffix>)
2) The filtering rules of the Action interceptor can be refined to the action entry method level.
3) @ formbean annotation can be declared in the Action entry method (override the @ formbean declaration in the action class definition)
4) @ formbean annotation supports Member Variable Injection (that is, member variables with no public setter method defined for attributes can also be injected)
5) add @ daobean and @ daobeans to support Dao object injection (you do not need to explicitly call facadeproxy. Create (...) to create Dao proxy objects)
6) Add the built-in request attribute> '_ base' (base URL of the HTTP request)
7) Add the built-in application Attribute-> '_ context' (root path of servlet context)
8) Modify base. jsp and replace {basepath} with {__base}
9) The MVC configuration file supports multiple "include" (I .e., from the configuration file, you can also "include" other configuration files) and can automatically filter duplicate files
10) Optimize the cache mechanism of the MVC framework to improve the framework performance
11) add freemarker integration example for myportal in the sample project
2. Upgrade the DaO sub-framework:
1) added the facadeproxy. Create (...) series Dao access methods.
2) Add the @ transaction annotation to the DAO class and use it with the facadeproxy. Create (...) series of methods.
3) facadeproxy. Create (...) Methods Support automatic injection of Dao objects in actions (using @ daobean or @ daobeans annotation)
4) Optimize the cache mechanism of the DaO framework to improve the framework performance
Codeproject