October 28 appfuse training diary

Source: Internet
Author: User

Today, instructor Liang Yanbing explained appfuse, which is an open-source project integrating spring, hibernate, spring MVC, velocity, sitemesh, and Ajax frameworks. Teacher Liang Yanbing is an idol of the students and a great man, although I didn't understand it in the past, everyone admired him!

He first explained some details of the ajaxtable project that was not finished last time, and then started the appfuse explanation. Instructor Liang mainly took the Implementation Details of appfuse andCodeOnce again, he spoke very well in today's class. It seems that he has found the feeling of giving lectures to students of different grades.

More functions of ajaxtable are improved. We analyzed the source code of appfuse. New knowledge includes the parent attributes of sitemesh and spring <bean> elements.

You can add the Resource Directory to the source directory of the eclipse build, so that the resource files in it will be directly copied to the directory of the compiled result classpath.
Messageresource can set a basenames attribute to set multiple resource files. Each file is separated by a comma.
When explaining spring's return modelview, we use the original request. setattribute and requestdispatcher. forward to implement the same function, so that students can easily understand the working principle of modelview.

Enable displaytag to display Chinese information and extract displaytag from jar package. properties file, and then write a displaytag_zh_cn.properties file. After writing the file into Chinese, use native2asii for conversion. The eclipse provided by instructor Liang seems to have this conversion function, I don't know whether it is the credit of his WST plug-in or the built-in functions of eclipse.
The parameter of the Request Method passed to buffalo can be a custom object (create an object using formtobean and then pass it to the remotecall method), and the result returned by the method can also be a custom object.

The release can be automatically completed when jsp can be saved in myeclipse.
Pagination uses setfetchsize instead of setmaxresults.

One of the details I personally want to consider:
How does transactionmanager work at the underlying layer, regardless of calling JTA? I think it must be associated with connection, and session is also associated with connection, some basic students are arranged to check the source code of Hibernate and ibatis.

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.