Portal-Basic Java Web application development framework: Application (14) -- asynchronous action

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 is designed with full focus on functions, performance, and user experience. Portal-basic features:

1)Comprehensive functions:Built-in stable and efficient MVC infrastructure and Dao framework, supporting action interception, form bean/Dao bean/spring bean assembly, and clear transactions, provides common Web components such as internationalization, file upload and download, cache, and page static, to meet the needs of most web applications.

2)Highly scalable:The plug-in mechanism used by portal-Basic can be flexibly expanded, the portal-Basic-ext-rest and portal-Basic-ext-spring in the portal-Basic release package are provided in the form of plug-ins. you can load or uninstall these plug-ins as needed. Application developers can also compile custom plug-ins to expand portal-Basic based on actual needs.

3)Powerful integration capabilities:Portal-Basic is a full-stack framework and an open framework. It can integrate third-party components in a very simple way. This document describes in detail how to integrate common frameworks and components such as freemarker, velocity, urlrewrite, ehcache-web, spring, hibernate, and mybaits in portal-Basic.

4)High performance:Performance requirements are hard indicators of portal-Basic. From the design of each module to the implementation of each line of code, they strive to be concise and efficient. In addition, portal-Basic does not encapsulate JSP/Servet APIs too much. Developers still use JSP/Servet APIs to develop applications, so there are not too many detours and the performance is guaranteed.

5)Excellent user experience:One of the goals of portal-Basic is to provide a good development experience and minimize the work of application developers. The API design is simple, complete, and clear. At the same time, portal-Basic provides a large number of util tools for application development to deal with general problems that are common during application development, further reducing the workload of application developers.

6)Gentle learning curve:Gentle learning curve: to learn how to use portal-basic, you only need to master certain core Java and JSP/servlet knowledge. This development manual will explain each knowledge point step by step, each knowledge point is described based on a complete example. The knowledge points echo each other before and after each other to ensure that learners learn from each other and learn from each other.

7)Comprehensive Technical Support:In addition to providing complete development manuals and sample code, we also provide blogs and QQ groups to answer all the problems encountered during the use of portal-Basic. Next, we plan to build a portal-Basic Technology Forum.

Portal-Basic 3.1.1 update:

1. Support for asynchronous action ("Asynchronous processing" is one of the new features of servlet 3.0 ):

1) added the asynctask asynchronous task interface in the com. Bruce. MVC package and implemented actasynctask and actiontask classes.
2) COM. Bruce. MVC. actionsupport: startasync (...)

2. Support for asynchronous rest action (implemented in the portal-basic-exe-rest-3.1.1 plug-in ):

1) added the restactiontask implementation class to the com. Bruce. Ext. Rest package.
2) support for asynchronous processing is added to com. Bruce. Ext. Rest. restactionsupport.

3. added two JDBC sessionmgr:

1) COM. Bruce. Dao. JDBC. druidsessionmgr: Use the druid connection pool to connect to the database.
2) COM. Bruce. Dao. JDBC. jndisessionmgr: Use the JNDI connection pool to connect to the database.

 4,Other updates:

1) Example of adding myportal to asynchronous processing of Action requests and asynchronous rest action requests
2) All Hibernate and jdbc examples of the test project myportal use druid to replace the original proxool connection pool
3) Add "Asynchronous action" to the "portal-Basic Java Web Application Development Framework (v3.1.20130420)" Development Manual
4) update all jar packages in the "portal-Basic-lib" and "Spring-lib" libraries of portal-basic to the latest version.

 5. application upgrade instructions:

1) The "Asynchronous processing" function of portal-Basic 3.1.1 is only applicable to application environments that support servlet 3.0 (for example, javeee 6/tomcat 7)
2) If the application environment does not support servlet 3.0 (for example, javeee 5/tomcat 6), you can only use the original functions.
3) Portal-Basic 3.1.1 no longer provides compatible JDK 1.5 versions
4) Portal-Basic 3.1.1 fully compatible with portal-Basic 3.0.1 (non-JDK 1.5)

 

Codeproject

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.