Getting Started with Spring Framework (J. Sharma, Ashish Sarin).pdf
(
5464 KB
)
Pobierz
Getting started with Spring Framework
Second Edition
Ashish Sarin, J Sharma
Table of contents
Preface
How to use this book
Conventions used in this book
Feedback and questions
About the authors
Chapter 1 – Introduction to Spring Framework
1-1 Introduction
1-2 Spring Framework modules
1-3 Spring IoC container
1-4 Benefits of using Spring Framework
Consistent approach to managing local and global transactions
Declarative transaction management
Security
JMX (Java Management Extensions)
JMS (Java Message Service)
Caching
1-5 A simple Spring application
Identifying application objects and their dependencies
Creating POJO classes corresponding to identified application
objects
Creating the configuration metadata
Creating an instance of Spring container
Access beans from the Spring container
1-6 Frameworks built on top of Spring
1-7 Summary
Chapter 2 – Spring Framework basics
2-1 Introduction
2-2 Programming to interfaces design principle
Scenario: Dependent class contains reference to the concrete class
of dependency
Scenario: Dependent class contains reference to the interface
implemented by the dependency
Spring’s support for ‘programming to interfaces’ design approach
2-3 Different approaches to instantiating Spring beans
Instantiating beans via static factory methods
Instantiating beans via instance factory methods
2-4 Dependency injection techniques
Setter-based DI
Constructor-based DI
2-5 Bean scopes
Singleton
Prototype
Choosing the right scope for your beans
2-6 Summary
Chapter 3 - Configuring beans
3-1 Introduction
3-2 Bean definition inheritance
MyBank – Bean definition inheritance example
What gets inherited ?
3-3 Constructor argument matching
Passing simple values and bean references using <constructor-arg>
element
Constructor argument matching based on type
Constructor argument matching based on name
3-4 Configuring different types of bean properties and constructor
arguments
Built-in property editors in Spring
Specifying values for different collection types
Specifying values for arrays
Default collection implementation for <list>, <set> and <map>
elements
3-5 Built-in property editors
CustomCollectionEditor
CustomMapEditor
CustomDateEditor
3-6 Registering property editors with the Spring container
Creating a PropertyEditorRegistrar implementation
Configuring the CustomEditorConfigurer class
3-7 Concise bean definitions with p and c namespaces
p-namespace
c-namespace
3-8 Spring’s util schema
<list>
<map>
<set>
<properties>
<constant>
<property-path>
3-9 FactoryBean interface
MyBank application – Storing events in the database
MyBank – FactoryBean example
Accessing the FactoryBean instance
3-10 Summary
Chapter 4 - Dependency injection
Plik z chomika:
mofffon
Inne pliki z tego folderu:
Beginning Spring 6 -- Joseph B_ Ottinger, Andrew Lombardi -- 2024 -- Apress.pdf
(8305 KB)
Pro Spring 6_ An In-Depth Guide to the Spring Framework -- Iuliana Cosmina, Rob Harrop, Chris Schaefer, Clarence Ho -- 6, 2023 -- Apress.pdf
(22311 KB)
Getting Started with Spring Framework (J. Sharma, Ashish Sarin).pdf
(5464 KB)
PRO SPRING BOOT 3 _ an authoritative guide with best -- Felipe Gutierrez -- 3rd ed_, US, 2024 -- Apress L_ P_ -- 9781484292938 -- ca986706f50d46eb73fff0e50dcb9a55 -- Anna’s Archive.pdf
(17948 KB)
Pro Spring 5 An In-Depth Guide to the Spring Framework and Its Tools by Iuliana Cosmina, Rob Harrop, Chris Schaefer, Clarence Ho (z-lib.org).pdf
(10044 KB)
Inne foldery tego chomika:
05) React (george.mouflon)
06) Node.js (george.mouflon)
09) Exam. Interview (george.mouflon)
10 Swedish mobi books
10) TypeScript (george.mouflon)
Zgłoś jeśli
naruszono regulamin