Ulteriori informazioni
Get a concise introduction to Spring, the popular open source framework for building lightweight enterprise applications on the Java platform. This example-driven book for Java developers delves into the framework’s basic features, as well as complex concepts such as containers. You’ll learn how Spring makes Java Messaging Service easier to work with, and how its support for Hibernate helps you work with data persistence and retrieval.
In this revised edition of Just Spring, you’ll get your hands deep into sample code, beginning with a problem that illustrates Spring’s core principle: dependency injection. In the chapters that follow, author Madhusudhan Konda walks you through features that underlie the solution.
* Dive into the new chapter on advanced concepts, such as bean scopes and property editors
* Learn dependency injection through a simple object coupling problem
* Tackle the framework’s core fundamentals, including beans and bean factories
* Discover how Spring makes the Java Messaging Service API easier to use
* Learn how Spring has revolutionized data access with Java DataBase Connectivity (JDBC)
* Use Spring with the Hibernate framework to manipulate data as objects
Sommario
Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Content Updates;
Acknowledgments;
Chapter 1: Basics;
1.1 Introduction;
1.2 Object Coupling Problem;
1.3 Introducing Spring;
1.4 Summary;
Chapter 2: Fundamentals;
2.1 Configuring Beans;
2.2 Creating Beans;
2.3 Life Cycle;
2.4 Aliasing Beans;
2.5 Anonymous Beans;
2.6 Injection Types;
2.7 Bean Callbacks;
2.8 Summary;
Chapter 3: Containers;
3.1 Containers;
3.2 Instantiating Beans;
3.3 Initialization and Destruction Callbacks;
3.4 Event Handling;
3.5 Autowiring;
3.6 Summary;
Chapter 4: Advanced Concepts;
4.1 Bean Scopes;
4.2 Property Files;
4.3 Property Editors;
4.4 Bean Post Processors;
4.5 Parent-Child Bean Definitions;
4.6 Summary;
Chapter 5: Spring JMS;
5.1 Two-Minute JMS;
5.2 Spring JMS;
5.3 Summary;
Chapter 6: Spring Data;
6.1 JDBC and Hibernate;
6.2 Summary;
Colophon;