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

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.

主站蜘蛛池模板: 肃北| 东山县| 随州市| 新建县| 长岛县| 松阳县| 固安县| 雷山县| 通榆县| 徐水县| 遵化市| 青龙| 江津市| 濮阳县| 壶关县| 株洲市| 北京市| 孟津县| 泾阳县| 苍南县| 巴楚县| 逊克县| 尉犁县| 陇西县| 彭泽县| 社会| 邵阳市| 开远市| 云林县| 茶陵县| 县级市| 崇礼县| 梅河口市| 加查县| 承德市| 宁晋县| 诸暨市| 凤阳县| 恭城| 镇宁| 靖州|