Spring Annotation Learning Codex (i) building a simple Web application good
Source: Internet
Author: User
Transferred from: http://snowolf.iteye.com/blog/577989
Some changes have taken place in recent work, so it is necessary to learn the spring annotations.
On the Internet to find some examples, in general, compared to the soil, most of the reprint excerpt, follow the instructions to get down at all can not run, simply go through this muddy water, here leave thousand imprint.
This time, let's build a very simple Web application, from controller to DAO. Regardless of the implementation, only a clear understanding of the overall architecture is first. In the future, the details of each layer are described in layers.
Related references: Spring Annotation Learning Codex (i) building a simple Web application Spring Annotation Learning Codex (ii) control layer Grooming Spring Annotation Learning Codex (iii) Form page processing Spring Annotation Learning Codex (IV.) Persistence layer Analysis Spring Annotation Learning Codex (v) Business Layer transaction processing Spring Annotation Learning Codex (vi) test Spring Annotation Learning Codex (vii) Addendum-@ResponseBody, @RequestBody, @PathVariable Spring Annotation Learning Codex (eight) addendum--@ExceptionHandler
We will use the following jar package:
Reference
Aopalliance-1.0.jar
Commons-logging-1.1.1.jar
Log4j-1.2.15.jar
Spring-beans-2.5.6.jar
Spring-context-2.5.6.jar
Spring-context-support-2.5.6.jar
Spring-core-2.5.6.jar
Spring-tx-2.5.6.jar
Spring-web-2.5.6.jar
Spring-webmvc-2.5.6.jar
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.