Portal-Basic Java Web Application Development Framework v2.6.2 (source code, example and Documentation)

Source: Internet
Author: User

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/spring bean assembly, provides extensible Dao access interfaces, internationalization, file upload and download, cache, page static and other common Web Components, perfect integration with spring, 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 application development and is 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, the MVC Architecture of portal-Basic provides an application configuration method similar to struts, so that you can easily overwrite struts. It also provides a useful reference for you to better understand the principles of the MVC framework.

Portal-Basic 2.6.2 update:

1. added spring support:
1) Add spring plug-in package portal-basic-ext-spring-2.6.2.jar for integrating spring
2) Action declares spring bean through @ springbean/@ springbeans Annotation
3) Action parses @ springbean/@ springbeans annotation through the interceptor com. Bruce. Ext. Spring. springinjectfilter and injects spring Bean
4) The Dao object of portal-Basic can be declared as spring bean, so that the portal-Basic Dao sub-framework can be used in the spring environment.
5) add spring integration example for myportal in the sample project

2. Other updates:
1) @ formbean, @ daobean/@ daobeans, @ springbean/@ springbeans, and @ transaction annotations are declared as @ inherited. Subclass can inherit the annotation of the parent class.

Portal-Basic 2.6.1 update:

1. MVC sub-framework upgrade:
1) Support for multi-entry actions (request format: http ://... /... / ! . )
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 (I .e: member variables without defining the public setter method can also be injected)
5) add @ daobean and @ daobeans and support Dao object injection (facadeproxy is not explicitly called. create (...) method To create a DaO proxy object)
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) to modify the base. JSP, 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 and improve the framework performance
11) add freemarker integration example for myportal of the sample project
2. Dao sub-framework upgrade:
1) Add facadeproxy. create (...) series Dao access method
2) Add @ transaction annotation to DAO class, And facadeproxy. create (...) use methods in combination
3) facadeproxy. create (...) series of methods support automatic injection of Dao objects in actions (using @ daobean or @ daobeans annotation)
4) Optimize the cache mechanism of Dao framework to improve framework performance

 Related links:

Portal-Basic Java Web Application Development Framework-Overview Portal-Basic Java Web application development framework: Application (1) -- configuration file Portal-Basic Java Web application development framework: Application (2) -- Use of action Portal-Basic Java Web application development framework: Application (iii) -- Internationalization Portal-Basic Java Web application development framework: Application (4)-file upload and download Portal-Basic Java Web application development framework: Application (5) -- Dao framework Portal-Basic Java Web application development framework: Application (6) -- Public Components Portal-Basic Java Web application development framework: Application (7) -- Static Page Portal-Basic Java Web application development framework: Application (8)-integration with freemarker Portal-Basic Java Web application development framework: Application (9) -- multi-entry action Portal-Basic Java Web application development framework: Application Article (10)-New Dao access interface Portal-Basic Java Web application development framework: Application (11) -- integrate Spring

 

Development document directory:

 

Codeproject

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.