Based on SPRINGMVC Framework Project Demo

Source: Internet
Author: User

Git address: Https://github.com/JavaWeb1024/SpringMVC

1. Introduction to the framework:

To create a cluster of highly available frameworks, the integrated technology is now more mature and stable. Relevant knowledge points on the network can also easily find relevant knowledge, there are problems can be solved immediately. The framework does not have an integrated front end and, if needed, can be integrated with a JSP or front-end frame (freemarker or velocity, etc.) for easy expansion. The system is mainly for the background program, provided by the demo have been successfully run, easy to learn.

The technologies used include

L SPRINGMVC

L Mybatis

L Druid (data source)

L Atomikos (Multi-data source transaction management)

L Maven

L Redis (do cache)

L Springcache (Integrated Redis)

L Mysql (database table engine cannot be myisam when supporting transactions)

(Successive integration of Dubbe, kafka,disconf)

2. Framework Technical Support

MyBatis Automatic generation tool, address: http://www.javaweb1024.com/info/928.jspx. The automatic generation tool uses mybatis-generator two times to send, the new function points are:

L method Selectbystatement, gets the list object collection. The corresponding XML has been partially adjusted, easy to read and understand.

L method Selectbystatementcount, get the total number of matching objects, paging time required.

L Add a new entity class comment to read the notes in the database. (The memo in the database cannot be empty.)

L when the entity class is a string type, the new method is judged as null.

public void Settakeno (String takeno) {

This.takeno = Stringutils.isblank (Takeno)? Null:takeNo.trim ();

}

This removes the case where the front end is a space.

L need to add type-matching conversions if the date type is in the entity class

@DateTimeFormat (pattern= "YYYY-MM-DD")

Private Date busidate;

Baidu Ueditor use, if the front-end use is JSP will be very simple integration of your project, but if the front-end use of the template engine, you need to modify the Ueditor source. The source code needs to specify its initialization variable parameter. JOSN path, if cannot be modified can contact us.

QQ Group: Focus on Javaweb Development official group (178744906) authentication message JAVAWEB1024QQ Group: Wuhan Area (142173356) authentication message JavaWeb1024

Based on SPRINGMVC Framework Project Demo

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.