Over 100 hands-on recipes to build Spring web applications easily and efficiently
About This Book
- Use the latest configuration style and web improvements in Spring 4 to write optimized code
- Build full-featured web applications such as Spring MVC applications efficiently that will get you up and running with Spring web development
- Learn dependency injection and aspect-oriented programming to create aspects that enable the modularization of concerns such as transaction management
Who This Book Is For
Spring is the most popular Java web framework. It makes it easy to efficiently build modular and testable web applications by using the Model-View-Controller paradigm and dependency injection.
Using this practical guide, you'll learn how to build a full-featured web application step-by-step, but with high efficiency using the latest improvements in Spring 4. Starting with the installation of Java, Maven, and Tomcat, you'll go on to create a basic MVC web application. You'll then add a database, forms, and user authentication, and learn how to handle mobile devices and integrate with Facebook and Twitter. Next, you will be introduced to unit testing, web services, and aspect-oriented programming.
Table of Contents
Chapter 1. Creating a Spring Application
Chapter 2. Defining Beans and Using Dependency Injection
Chapter 3. Using Controllers and Views
Chapter 4. Querying a Database
Chapter 5. Using Forms