官术网_书友最值得收藏!

Chapter 2. Building the Web Layer with Spring Web MVC

Web application development is a major focus area for enterprise systems. In this age of cloud and big data, web applications are under a tremendous load of an ever-increasing number of concurrent users accessing them from multiple devices such as mobiles and tablets, as well as traditional desktop web browsers. Modern web applications have to address a newer set of nonfunctional requirements, such as scalability, performance, productivity, responsiveness, and multi-device support.

Spring MVC is a web framework from Spring, perfectly built from the ground up to address the concerns of modern web applications. A lightweight and high-performance web framework, Spring MVC is designed to be highly productive from day one, flexible, and adaptable with a wide variety of view technologies. Sitting on top of the mighty Spring Framework, it integrates well with all Java EE technologies and other open source frameworks. Just like any technology under the Spring portfolio, Spring MVC also promotes POJO programming with the help of a well-defined set of annotations, namespace XML tags, and web-support components.

This chapter introduces Spring MVC and its powerful features to you, describes how to set it up, and guides you on its advanced usages, configurations, and optimizations with relevant examples. We will mostly use annotations in these examples for simplicity. At the end of this chapter, you will be able to build web applications with Spring MVC that have HTML-based user interfaces as well as RESTful APIs with JSON and XML formats.

主站蜘蛛池模板: 绍兴县| 镇原县| 苗栗市| 班玛县| 进贤县| 五指山市| 静乐县| 宝丰县| 红原县| 庄河市| 招远市| 新邵县| 来宾市| 孝感市| 光泽县| 邹城市| 双峰县| 靖边县| 宁河县| 法库县| 昌黎县| 沙田区| 马鞍山市| 海丰县| 淄博市| 香港 | 锦州市| 哈巴河县| 兴宁市| 江西省| 广西| 合作市| 西乌珠穆沁旗| 农安县| 遵化市| 信丰县| 永和县| 重庆市| 裕民县| 崇信县| 东海县|