[Presented on May Day] Java all-powerful and efficient MVC & rest development framework portal-Basic v3.1.1 officially released

Source: Internet
Author: User

Portal-Basic is a complete set of high-performance full-stack web application development frameworks, built-in and scalable MVC Web infrastructure and DAO Database Access Components (the hibernate, mybatis, and JDBC Dao components are provided internally ), integrates basic web application components such as Action interception, form/Dao/spring bean assembly, internationalization, file upload/download, and page static, to provide an efficient and flexible pure JSP/servlet API programming model, perfectly integrated with spring, supports action convention, and can quickly develop traditional and restful applicationsProgramThe documents and examples are complete and 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:

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.

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.

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.

High performance:Performance requirements are hard indicators of portal-basic, from the design of each module to each lineCodeAnd 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.

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.

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.

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.

 

*Portal-basic overall architecture

 

*Portal-basic application dependency

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)

 Portal-Basic 3.0.1 update:

1. Added action convention. "Action Zero Configuration" is supported ":

1) automatically load the action according to the address information of the action request, and call the corresponding entry method to process the request
2) the address of the output page is automatically combined Based on the address information of the action request and the action result and forwarded.
3) use the @ result/@ results and @ predictionmapping/@ predictionmappings annotations to customize the result and Exception Processing policies.

2. Added rest support:

1) Add the rest plug-in package portal-basic-ext-rest-3.0.1.jar to support rest
2) Portal-Basic-ext converts a rest request to an action request through the com. Bruce. Ext. Rest. restdispatcher filter.
3) Portal-Basic-ext provides com. Bruce. Ext. Rest. restactionsupport as the action base class for processing rest requests.
4) The rest request processing method of action matches the rest address format by declaring @ get/@ post/@ put/@ Delete annotation and injecting Parameters
5) built-in standard rails-style rest Method
6) supports three view formats: HTML, XML, and JSON. Applications can also expand their own view formats.
7) the combination of portal-Basic-ext and action Convention enables Zero Configuration to process rest requests.

 Development document directory:

 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
Portal-Basic Java Web application development framework: Application (12) -- Action Convention
Portal-Basic Java Web application development framework: Application (13) -- rest Convention
Portal-Basic Java Web application development framework: Application (14) -- asynchronous action

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.