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

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.

主站蜘蛛池模板: 河源市| 白沙| 苏尼特左旗| 文山县| 行唐县| 房山区| 呼玛县| 梧州市| 丰顺县| 宝清县| 双牌县| 樟树市| 留坝县| 九龙县| 洞头县| 舟曲县| 河源市| 密山市| 加查县| 灵台县| 江永县| 清镇市| 视频| 乌鲁木齐市| 寿宁县| 胶南市| 钟祥市| 桃江县| 博白县| 华池县| 廊坊市| 甘南县| 竹北市| 丰台区| 澄城县| 南华县| 海伦市| 桑植县| 广东省| 翼城县| 香港 |