Over 100 hands-on recipes to build Spring web applications easily and efficiently
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.
What You Will Learn
Install Maven and Tomcat and create a Spring MVC web application
Display, validate, and process forms
Query a database with minimal code
Authenticate users and manage their roles
Build REST, Java RMI, and Hessian web services
Create and schedule batch jobs
Offer customized page layouts to mobiles and tablets
Exchange data with Facebook and Twitter
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.