Spring
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews
Language
German
ISBN
Unknown
1. Organisatorisches
1.1. Was erwartet Euch?
1.2. Organisatorisches
1.3. Werkzeuge
1.4. Social Media
1.5. Handout
2. Hello Spring
2.1. Settings
2.2. Rod Johnson
2.3. Dependency Injection
2.4. Referenzen und Kopplung
2.5. Was macht DI
2.6. DI ist einfach
2.7. Lose Kopplung
2.8. Mockito
2.9. Test
2.10. Injizieren einer Quest
2.11. Java Configuration
2.12. Bean
2.13. Wiring
2.14. Application Context
2.15. AnnotationConfig
2.16. What we mean by "Spring"
2.17. Spring Framework
2.18. Greater Portfolio
2.19. Spring Boot
3. Das kleine Einmal-Eins der Beans
3.1. Eine Menge Annotationen
3.2. Spring Initializer
3.3. Hands On
3.4. Nicht ganz normal
3.5. Anpassungen
3.6. Anpassungen
3.7. Floppy
3.8. Floppy
3.9. Implementierung
3.10. ApplicationContext
3.11. @Configuration
3.12. Autowiring im Test
3.13. @Autowired
3.14. Static Import
3.15. Hands On
3.16. Mehrere Beans
3.17. Beans haben eine ID
3.18. Custom ID
3.19. Floppy Drive
3.20. Slow Drive
3.21. Wiring
3.22. Wiring Variante
3.23. Test
3.24. Hands On
3.25. Singleton
3.26. Voodoo ?
3.27. VoodooTest
3.28. Proxies sind nicht billig
3.29. proxyBeanMethods=false
3.30. Wann JavaConfig?
3.31. Random Floppy
3.32. Component Scanning
3.33. @ComponentScan
3.34. Gescannte Packages
3.35. @Component
3.36. basepackages als String
3.37. Gescannte Packages
3.38. Test mit Scan
3.39. Hands On
3.40. basePackageClasses als Marker-Interface
3.41. Beans haben eine ID
3.42. Custom ID
3.43. Constructor Wiring
3.44. Hands On
3.45. Unit Test
3.46. @MockBean
3.47. Mehr Wiring
3.48. Constructor Wiring
3.49. Setter Wiring
3.50. Field Wiring
3.51. Test Wiring
3.52. Test Constructor Wiring
3.53. AutowireMode für alle Tests
3.54. Test Method Parameter Wiring
3.55. Xml Konfiguration
3.56. Xml Test
3.57. Kunterbunt
3.58. Verteilte Konfiguration
3.59. @Import
3.60. Recap
3.61. Singletons & Scopes
3.62. Scopes
3.63. @Scope
3.64. Mehrdeutigkeiten
3.65. @Primary vs. @Qualifier
3.66. Wiring mit @Autowired
3.67. Impliziter Qualifier
3.68. Wiring mit @Autowired
3.69. Wiring by Name
3.70. Wiring by Name Test
3.71. Hands On
4. Und was ist eigentlich Spring Boot?
4.1. Hands On
4.2. @ConfigurationProperties
4.3. @EnableConfigurationProperties
4.4. BlankFloppy
4.5. Floppy
4.6. Spring Environment
4.7. Automatische Konfiguration
4.8. application.properties
4.9. OS Environment
4.10. application.properties / .yml
4.11. @EnableAutoConfiguration
4.12. @SpringBootApplication
4.13. @SpringBootTest
4.14. Hands On
4.15. Profiles
4.16. default
4.17. Profiles und Properties
4.18. @ActiveProfiles
4.19. spring.profiles.active
4.20. "Additiv"
4.21. Hands On
4.22. @Profile
4.23. FastFloppyDrive
4.24. Test mit Profile
4.25. Hands On
4.26. Conditional Beans
4.27. Condition
4.28. @Conditional
4.29. Sinn und Zweck
4.30. Condition Report
4.31. Demo Condition Report
4.32. Eigene Autoconfiguration
4.33. AutoConfiguration registrieren
4.34. Hands On
5. Aspekte und Proxies
5.1. BeanPostProcessor
5.2. Bean Lifecycle
5.3. Aspekte
5.4. AOP
5.5. Der Reporter
5.6. Fest verdrahtet
5.7. Viele Fragen
5.8. Aspekt
5.9. Advice
5.10. Wie funktioniert das?
5.11. ProxyFactory
5.12. Point Cuts definieren
5.13. Dependency
5.14. Aspekte definieren
5.15. Pointcuts
5.16. Hands On
6. Spring MVC
6.1. DispatcherServlet
6.2. Request-Verarbeitung
6.3. Controller
6.4. Model und View
6.5. Setup "RoverLens"
6.6. Hands On
6.7. Main
6.8. Test
6.9. Maven Plugin
6.10. Demo
6.11. Controller
6.12. Template
6.13. Templates
6.14. WebMvcTest
6.15. Hands On
6.16. Technische Module
6.17. Kohäsion und Kopplung?
6.18. Fachliche Module
6.19. Pro Modul ein Package
6.20. RoverImageService
6.21. RoverImage
6.22. RoverImageController
6.23. Template
6.24. So weit, so gut
6.25. @MockBean
6.26. Hands On
6.27. So weit, so gut
6.28. Nasa API
6.29. List Container
6.30. RestClient
6.31. Request
6.32. Proxy Settings?
6.33. Properties
6.34. Hands On
6.35. MockRestServiceServer
6.36. Test mit MockServer
6.37. Hands On
6.38. Request Parameter
6.39. @RequestParam
6.40. Hands On
6.41. Dynamische Adressen
6.42. @PathVariable
6.43. UserRepository
6.44. Dummy Implementierung
6.45. User
6.46. Template
6.47. Hands On
6.48. Registrierung
6.49. Formular anzeigen
6.50. Show Registration Form
6.51. Formular
6.52. Input Fragment
6.53. Struktur
6.54. Formular verarbeiten
6.55. @PostMapping
6.56. Hands On
6.57. Exceptions
6.58. UnknownUserException
6.59. ExceptionHandler
6.60. Template
6.61. Test
6.62. ControllerAdvice
6.63. Template
6.64. Test
6.65. ControllerAdvice
6.66. Hands On
6.67. Validation
6.68. Bean Validation API
6.69. @Valid
6.70. Test
6.71. User nicht überschreiben!
6.72. Test
6.73. Hands On
6.74. Two Unit Tests… No Integration Test
6.75. Playwright
6.76. Test mit Web-Server
6.77. Grey Box Test
6.78. Proxy
6.79. Hands On
6.80. Weitere Parameter
6.81. Noch mehr Parameter
6.82. Und noch welche
7. Spring Security
7.1. Dependency
7.2. Hands On
7.3. SecurityFilterChain
7.4. Authentication
7.5. Passwort
7.6. SecurityFilterChain
7.7. Logout
7.8. Hands On
7.9. Baustelle
7.10. @WithMockUser
7.11. SecurityConfig einbinden
7.12. Cross Site Request Forgery
7.13. Cross Site Request Forgery
7.14. Csrf Token im Test
7.15. Hands On
7.16. UserDetailsService
7.17. UserDetailsService
7.18. PasswordEncoder
7.19. Passwort Hash
7.20. Login Test
7.21. Login Failure
7.22. Encode the Dummy user’s password
7.23. Hands On
7.24. Test Failure
7.25. ArgumentCaptor
7.26. WebMvcTest
7.27. MockBean
7.28. Hands On
7.29. Method Security
7.30. @PreAuthorize
7.31. Expressions
8. Caching
8.1. Supported Caches
8.2. Dependency
8.3. @EnableCaching
8.4. Cache anlegen
8.5. Methode cachen
8.6. Hands On
9. JDBC
9.1. Dependencies
9.2. Connection
9.3. Datenbank-Migration
9.4. Migration
9.5. Folder Structure
9.6. Hands On
9.7. Domain object
9.8. JdbcClient, Repository, Transactional
9.9. Mapping
9.10. Generated Keys
9.11. @JdbcTest
9.12. findAll Test
9.13. Parameter
9.14. Parameter Test
9.15. Hands On
10. Spring Data JPA
10.1. Spring Data
10.2. Spring Data JPA
10.3. Setup
10.4. application.properties
10.5. Datenbank-Migration
10.6. Schema
10.7. Schema
10.8. Folder Structure
10.9. Hands On
10.10. Customer Entity
10.11. equals und hashCode
10.12. Order Entity
10.13. equals und hashCode
10.14. Hands On
10.15. Repository Interfaces
10.16. Repository
10.17. ListCrudRepository
10.18. ListPagingAndSortingRepository
10.19. JpaRepository
10.20. JpaRepository
10.21. DataJpaTest
10.22. Crud
10.23. save()
10.24. Hands On
10.25. Query by Example
10.26. Named Query
10.27. Query by method name
10.28. Naming Conventions
10.29. Test
10.30. Query Annotation
10.31. Hands On
10.32. Pageable
10.33. PageRequest
10.34. Lazy Loading
10.35. EntityGraph
10.36. Hands On
10.37. DTO
10.38. Projection
10.39. Einsatz
10.40. Hands On
11. Transactions
11.1. @Transactional in Spring
11.2. Propagation
11.3. Isolation
11.4. Timeout, Readonly
11.5. Multiple Transaction Manager Support
11.6. Exception Handling
11.7. TransactionTemplate
11.8. Programmatische Transaktion
12. REST-ful Services
12.1. Representational State Transfer
12.2. Representational State Transfer
12.3. Resources
12.4. Roy Fielding
12.5. Richardson
12.6. Richardson Maturity Model
12.7. Swamp of POX
12.8. Resources
12.9. Verbs
12.10. Hypermedia
12.11. Scaling Issues
12.12. Distributed Computing
12.13. Dependencies
12.14. @RestController
12.15. findAll
12.16. Test Setup
12.17. Test
12.18. Hands On
12.19. Funktioniert nur im Vakuum mit kugelförmigen Hühnern
12.20. Projektion
12.21. Projektion mit Spring Data
12.22. findAll ohne Id und Orders
12.23. Test
12.24. Hands On
12.25. Paging
12.26. Repository
12.27. Paging Test
12.28. Hands On
12.29. findByCustomerNumber
12.30. Repository
12.31. Test
12.32. Hands On
12.33. Insert mit @RequestBody
12.34. MapStruct
12.35. Mapper
12.36. Post mit MockMvc
12.37. Mapper
12.38. Hands On
12.39. Validation
12.40. Test
12.41. Demo
12.42. Demo: Andere Datenformate
12.43. ResponseEntity
12.44. Test mit notFound
12.45. Location Header beim Save
12.46. Insert wird erwachsen
12.47. Test Header
12.48. Hands On
12.49. RFC 9457 ProblemDetails
12.50. ExceptionHandler
12.51. Test Conflict
12.52. Hands On
12.53. Update mit PUT
12.54. Mapper
12.55. PUT und der RFC
12.56. Update Test
12.57. Update mit PATCH
12.58. Patch Test
12.59. Hands On
12.60. Integration Testing
12.61. Post
12.62. Test Profile
12.63. Hands On
12.64. Demo: Native Image
13. Dokumentation
13.1. RestDocs
13.2. Setup
13.3. document()
13.4. Output Asciidoc
13.5. Asciidoc Index File
13.6. Maven Plugin
13.7. Output
13.8. Hands On
13.9. OpenAPI Swagger UI
13.10. Disable Petstore Demo
13.11. Config
13.12. @Tag
13.13. Hidden
13.14. @Operation, Pageable
13.15. Schema
13.16. /swagger-ui/index.html
13.17. Hands On
14. HATEOAS
14.1. HATEOAS
14.2. HAL Hypertext Application Language
14.3. findAll
14.4. Test mit WebTestClient
14.5. findAllPaged
14.6. PagedResourcesAssembler
15. Security: JWT
15.1. Authentifizierungsverfahren
15.2. Open Standard
15.3. Struktur (Kompakte Form)
15.4. Header
15.5. Payload
15.6. Payload
15.7. Signatur
15.8. Demo
15.9. Unverschlüsselt
15.10. Header
15.11. Spring und JWT
15.12. Authorization Code Flow
15.13. Einfach gesagt
15.14. SecurityConfig
15.15. JwtDecoder
15.16. Secret
15.17. HttpSecurity
15.18. Hands On
15.19. OpenAPI
15.20. Hands On
15.21. Tests mit MockUser
15.22. IntegrationTest
15.23. User speichern
15.24. Encoder
15.25. Hands On
16. Actuator
16.1. Actuator
16.2. Dependency
16.3. Out of the Box
16.4. Health
16.5. Endpoints
16.6. Endpoints
16.7. Eigene Endpoints
16.8. Hands On
17. TestContainers
17.1. RoverLens
17.2. Dependencies
17.3. User Entity
17.4. Tabelle ROVER_USER
17.5. Repository
17.6. Insert
17.7. Implementierung für Insert
17.8. TestContainer
17.9. Aufräumarbeiten
17.10. Hands On
17.11. Container für die App
17.12. Start der Entwickler-App
17.13. Hands On
18. GraphQL
18.1. Background
18.2. Schema
18.3. type
18.4. Query und Mutation
18.5. query
18.6. Folder Structure
18.7. Dependencies
18.8. Dependencies
18.9. Hands On
18.10. Settings
18.11. Datenbank-Migration
18.12. Migration
18.13. Migration
18.14. Folder Structure
18.15. Hands On
18.16. Customer Entity
18.17. Order Entity
18.18. CrudRepository
18.19. QueryMapping
18.20. Controller
18.21. Query
18.22. Query Beispiel
18.23. GraphiQL
18.24. Hands On
18.25. Test Setup
18.26. Testdaten
18.27. Test
18.28. Test
18.29. Cleanup
18.30. Hands On
18.31. Loading Issues
18.32. DataFetcher
18.33. OrderRepository
18.34. @SchemaMapping
18.35. Hands On
18.36. N-plus-1
18.37. @BatchMapping
18.38. Alle Orders für alle Customers
18.39. Gruppierung
18.40. @BatchMapping
18.41. Hands On
18.42. Parameter
18.43. Controller
18.44. Hands On
18.45. Mutationen
18.46. Keyword
18.47. input & mutation
18.48. Input
18.49. Controller
18.50. Test mit Datenbank
18.51. Test mit Datenbank
18.52. Hands On
18.53. Ausblick: Subscription
Appendix A: Security: OAuth2/OpenId
A.1. OAuth Example Setup
A.2. Spring Authorization Server
A.3. Authorization Server Project
A.4. Hands On
A.5. Security Configuration
A.6. Security Configuration
A.7. Port 9000
A.8. Hands On
A.9. Client App
A.10. Setup Client App
A.11. Controller Setup
A.12. OAuth2AuthorizedClient
A.13. DTO
A.14. Template
A.15. Hands On
A.16. OAuth Login
A.17. Logout
A.18. Jede Menge Properties
A.19. Hands On
A.20. Customer Service
A.21. Customer Service mit OAuth
A.22. Properties
A.23. Hands On
Appendix B: JMS, RabbitMQ und Kafka
B.1. JMS
B.2. Alternativen
B.3. Broker
B.4. 2 Verfahren
B.5. Point to Point
B.6. Publish Subscribe
B.7. Dependencies
B.8. Receiver
B.9. Sender
B.10. Konfiguration
B.11. Hands On
B.12. AMQP mit RabbitMQ
B.13. Dependencies
B.14. Receiver
B.15. Sender
B.16. RabbitMQ Setup
B.17. Hands On
B.18. Kafka
B.19. Dependencies
B.20. Topic
B.21. Sender
B.22. Receiver
B.23. Configuration
B.24. Kafka Setup
B.25. Hands On
Appendix C: Spring Data JDBC
C.1. Leichtgewichtige Lösung
C.2. Dependencies
C.3. Tabelle
C.4. application.properties
C.5. Pojo
C.6. save() vs. Insert/Update
C.7. CrudRepository
C.8. Test Setup
C.9. Test
C.10. Test
C.11. Auditing
C.12. OneToMany?
C.13. Hands On
Appendix D: Scheduling
D.1. Zwei Varianten
D.2. Dependencies
D.3. @EnableScheduling
D.4. @Scheduled
D.5. Hands On
Appendix E: Email
E.1. JavaMailSender
E.2. GreenMail
E.3. Dependencies
E.4. Server Config
E.5. Email versenden
E.6. Test Setup
E.7. Test mit GreenMail
E.8. Hands On
Appendix F: Rest Repositories
F.1. data-rest
F.2. Dependencies
F.3. Dependencies
F.4. Entity
F.5. Repository
F.6. Explorer
F.7. Hands On
Appendix G: Websockets mit Stomp
G.1. STOMP
G.2. Dependencies
G.3. Webjars
G.4. Message
G.5. Response
G.6. Controller
G.7. Configuration
G.8. Integration Test Setup
G.9. Async Test
G.10. index.html (1)
G.11. index.html (2)
G.12. index.html (3)
G.13. index.html (4)
G.14. app.js (1)
G.15. app.js (2)
G.16. app.js (3)
G.17. app.js (4)
G.18. SpringBootApplication
G.19. Hands On
Appendix H: Batch
H.1. Dependencies
H.2. Begriffe
H.3. Job
H.4. JobInstance
H.5. Hello Batch
H.6. Job Parameter
H.7. TimeStamp
H.8. Execution Listener
H.9. Alles zusammen am Job
H.10. Parameter verwenden / StepScope
H.11. Job mit Parameter starten
H.12. Job Execution
H.13. Execution Context
H.14. Execution Context
H.15. Reader/Processor/Writer
H.16. ETL
H.17. Die Übung
H.18. Reader
H.19. Person.java
H.20. Writer
H.21. Processor
H.22. Zusammen wird daraus ein Step
H.23. Am Ende wird daraus ein Job
H.24. schema.sql
H.25. sample-data.csv
H.26. Parameter
H.27. Batch Test Setup
H.28. Step Test
H.29. test-data.csv
H.30. Mit einer Netzwerk-DB
H.31. Hands On
The book hasn't received reviews yet.