Just Spring - Helion
ISBN: 978-14-493-1546-7
stron: 96, Format: ebook
Data wydania: 2011-07-22
Księgarnia: Helion
Cena książki: 63,74 zł (poprzednio: 74,99 zł)
Oszczędzasz: 15% (-11,25 zł)
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
Osoby które kupowały "Just Spring", wybierały także:
- Metoda dziel i zwyci 89,00 zł, (26,70 zł -70%)
- Język C. Kurs video. Praktyczne wprowadzenie do programowania 99,00 zł, (29,70 zł -70%)
- Wprowadzenie do Javy. Programowanie i struktury danych. Wydanie XII 193,23 zł, (59,90 zł -69%)
- Spring i Spring Boot. Kurs video. Testowanie aplikacji i bezpiecze 125,42 zł, (45,15 zł -64%)
- Maven. Kurs video. Automatyzacja tworzenia aplikacji w Javie 98,98 zł, (39,59 zł -60%)
Spis treści
Just Spring. A Lightweight Introduction to the Spring Framework eBook -- spis treści
- Just Spring
- A Note Regarding Supplemental Files
- Preface
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Content Updates
- September 23, 2011
- February 28, 2013
- Acknowledgments
- 1. Basics
- Introduction
- Object Coupling Problem
- Designing to Interfaces
- Introducing Spring
- Dependency Injection
- Refactoring IReader by Using the Framework
- ReaderService
- Summary
- 2. Fundamentals
- Configuring Beans
- Using XML
- Using Annotations
- XML Namespaces
- Creating Beans
- Life Cycle
- Instantiating Beans Without Dependencies
- Instantiating Beans With Dependencies
- Aliasing Beans
- Anonymous Beans
- Injection Types
- Constructor Type Injection
- Argument type resolution
- Setter Type Injection
- Mixing Constructor and Setter
- Constructor Type Injection
- Bean Callbacks
- init-method
- destroy-method
- Common Callbacks
- Summary
- Configuring Beans
- 3. Containers
- Containers
- BeanFactory Container
- ApplicationContext Container
- Instantiating Beans
- Using Static Methods
- Using Factory Methods
- Initialization and Destruction Callbacks
- InitializingBeans afterPropertiesSet
- DisposableBeans destroy
- Declarative or Programmatic Callbacks?
- Event Handling
- Listening to Context Events
- Publishing Custom Events
- Event Model Is Single Threaded
- Autowiring
- Autowiring byName
- Autowiring byType
- Autowiring by constructor
- Mixing Autowiring with Explicit Wiring
- Summary
- Containers
- 4. Advanced Concepts
- Bean Scopes
- Singleton Scope
- Prototype Scope
- Property Files
- Property Editors
- Injecting Java Collections
- Using lists, sets and maps
- Injecting Java Properties
- Injecting Java Collections
- Bean Post Processors
- Parent-Child Bean Definitions
- Summary
- Bean Scopes
- 5. Spring JMS
- Two-Minute JMS
- Messaging Models
- Point-to-point messaging
- Pub/sub messaging
- Messaging Models
- Spring JMS
- Mother of All: The JmsTemplate Class
- Publishing Messages
- Sending Messages to Default Destination
- Declaring a Topic
- Receiving Messages
- Receiving Messages Synchronously
- Receiving Messages Asynchronously
- Spring Message Containers
- Message Converters
- Summary
- Two-Minute JMS
- 6. Spring Data
- JDBC and Hibernate
- Spring JDBC
- JdbcTemplate
- Configuring JdbcTemplate
- Using JdbcTemplate
- Returning domain objects
- Manipulating data
- Hibernate
- Using old style HibernateTemplate
- Preferred styleusing native API
- Spring JDBC
- Summary
- JDBC and Hibernate
- About the Author
- Colophon
- Copyright