Get up to speed quickly with this comprehensive guide to
Spring
Beginning Spring is the complete beginner’s guide to
Java’s most popular framework. Written with an eye toward
real-world enterprises, the book covers all aspects of application
development within the Spring Framework. Extensive samples within
each chapter allow developers to get up to speed quickly by
providing concrete references for experimentation, building a
skillset that drives successful application development by
exploiting the full capabilities of Java’s latest advances.
Spring provides the exact toolset required to build an
enterprise application, and has become the standard within the
field. This book covers Spring 4.0, which contains support for Java
8 and Java EE 7. Readers begin with the basics of the framework,
then go on to master the most commonly used tools and fundamental
concepts inherent in any Spring project. The book emphasizes
practicality and real-world application by addressing needs such as
meeting customer demand and boosting productivity, and by providing
actionable information that helps developers get the most out of
the framework. Topics include:
* Dependency Injection and Inversion of Control
* Unit testing Spring enabled Web Applications
* Data Access using Spring JDBC and ORM support along with
Transaction Management
* Building Web Applications and RESTful Web Services with Spring
MVC
* Securing Web Applications using Spring Security
* Spring Expression Language with its Extensive Features
* Aspect Oriented Programming Facilities Provided by Spring
AOP
* Caching with 3rd Party Cache Providers’ Support
* The Best of the Breed: Spring 4.0
The information is organized and structured an ideal way for
students and corporate training programs, and explanations about
inner workings of the framework make it a handy desk reference even
for experienced developers. For novices, Beginning Spring is
invaluable as a comprehensive guide to the real-world functionality
of Spring.
Jadual kandungan
FOREWORDS xxvii
INTRODUCTION xxxi
CHAPTER 1: POJO PROGRAMMING MODEL, LIGHTWEIGHT CONTAINERS, AND INVERSION OF CONTROL 1
CHAPTER 2: DEPENDENCY INJECTION WITH SPRING 17
CHAPTER 3: BUILDING WEB APPLICATIONS USING SPRING MVC 63
CHAPTER 4: JDBC DATA ACCESS WITH SPRING 103
CHAPTER 5: DATA ACCESS WITH JPA USING SPRING 137
CHAPTER 6: MANAGING TRANSACTIONS WITH SPRING 175
CHAPTER 7: TEST?]DRIVEN DEVELOPMENT WITH SPRING 209
CHAPTER 8: ASPECT?]ORIENTED PROGRAMMING WITH SPRING 237
CHAPTER 9: SPRING EXPRESSION LANGUAGE 263
Configuring Applications with Sp EL 268
CHAPTER 10: CACHING 285
CHAPTER 11: RESTFUL WEB SERVICES WITH SPRING 305
CHAPTER 12: SECURING WEB APPLICATIONS WITH SPRING SECURITY 331
CHAPTER 13: NEXT STOP: SPRING 4.0 369
APPENDIX: SOLUTIONS TO EXERCISES 385
INDEX 425
Mengenai Pengarang
Mert Çaliskan is an Oracle Java Champion and has been working as Principal Architect in Turkey. He has more than 10 years’ experience in software development, where he has focused on architectural design of enterprise web applications. Kenan Sevindik is a Sun certified Java J2EE Business and Web Component developer, with more than 15 years of Java development experience. He has extensive experience with the major enterprise Java frameworks and gives seminars on a variety of Java concepts.