Spring Boot 3 and Spring Framework 6

Langbeschreibung
Say goodbye to dependencies, bogged-down code, and inflexibility! With the Spring framework and Spring Boot, you'll painlessly create Java applications that are production ready. Start with the basics: containers for Spring-managed beans, Spring framework modules, and proxies. Then learn to connect to relational databases, implement Jakarta Persistence, use Spring Data JPA, and work with NoSQL databases. Get the right know-how for modern software development with Spring and Java!Highlights include:1) Containers2) Modules3) Proxies4) Dependency injection5) Caching6) RESTful web services7) Security 8) Deployment9) Databases10) Jakarta Persistence11) Spring Data JPA12) Spring Web MVC
Hauptbeschreibung
Follow along with exercises, downloadable code, and demos to grow your expertise
Inhaltsverzeichnis
... Preface ... 25... What Is Spring Boot? ... 25... Prior Knowledge and Target Group ... 25... Date4u Demo Application, Tasks, and Solutions ... 25... Chapter Organization ... 26... The * Sections ... 27... Which Java Version Is Used in the Book? ... 27... Required Software ... 27... Development Environment ... 28... Conventions ... 28... Program Listings ... 29... Download and Online Information ... 30... About the Author ... 31... Feedback ... 321 ... Introduction ... 331.1 ... History of Spring Framework and Your First Spring Project ... 331.2 ... Spring Boot ... 371.3 ... Spring Boot Project: Dependencies and Starter ... 531.4 ... Getting Started with Configurations and Logging ... 611.5 ... Summary ... 652 ... Containers for Spring-Managed Beans ... 672.1 ... Spring Container ... 672.2 ... Package Structure of the Date4u Application ... 742.3 ... Pick Up Spring-Managed Beans through Classpath Scanning ... 762.4 ... Interactive Applications with the Spring Shell ... 892.5 ... Injecting Dependencies ... 952.6 ... Configuration Classes and Factory Methods ... 1112.7 ... Abstraction and Qualifications ... 1272.8 ... Beans Lifecycle ... 1462.9 ... Annotations from JSR 330, Dependency Injection for Java * ... 1692.10 ... Auto-Configuration ... 1702.11 ... Spring Expression Language ... 1852.12 ... Summary ... 1903 ... Selected Modules of the Spring Framework ... 1913.1 ... Helper Classes in Spring Framework ... 1913.1.1 ... Components of org.springframework ... 1913.2 ... External Configuration and the Environment ... 1933.3 ... At the Beginning and End ... 2383.4 ... Event Handling ... 2473.5 ... Resource Abstraction with Resource ... 2613.6 ... Type Conversion with ConversionService ... 2653.7 ... Internationalization * ... 2833.8 ... Test-Driven Development with Spring Boot ... 2893.9 ... Testing Slices Using a JSON Example * ... 3143.10 ... Scheduling * ... 3243.11 ... Types from org.springframework.*.[lang|util] ... 3283.12 ... Summary ... 3354 ... Selected Proxies ... 3374.1 ... Proxy Pattern ... 3374.2 ... Caching ... 3434.3 ... Asynchronous Calls ... 3614.4 ... TaskExecutor * ... 3694.5 ... Spring and Bean Validation ... 3744.6 ... Spring Retry * ... 3874.7 ... Summary ... 3955 ... Connecting to Relational Databases ... 3975.1 ... Set Up an H2 Database ... 3975.2 ... Realize Database Accesses with Spring ... 4075.3 ... Spring Boot Starter JDBC ... 4085.4 ... JdbcTemplate ... 4225.5 ... Data Types for Mapping to Results ... 4275.6 ... NamedParameterJdbcTemplate ... 4375.7 ... Batch Operations * ... 4435.8 ... BLOBs and CLOBs * ... 4515.9 ... Subpackage org.springframework.jdbc.core.simple * ... 4555.10 ... Package org.springframework.jdbc.object * ... 4585.11 ... Transactions ... 4605.12 ... Summary ... 4726 ... Jakarta Persistence with Spring ... 4736.1 ... World of Objects and Databases ... 4736.2 ... Jakarta Persistence ... 4796.3 ... Spring Data JPA ... 4826.4 ... Jakarta Persistence Entity Bean ... 4856.5 ... Jakarta Persistence API ... 4926.6 ... Jakarta Persistence Query Language (JPQL) ... 4986.7 ... Call Database Functions and Send Native SQL Queries ... 5196.8 ... Write Access with the EntityManager in Transactions ... 5256.9 ... Persistence Context and Other Transaction Controls ... 5316.10 ... Advanced ORM Metadata ... 5356.11 ... Relationships between Entities ... 5556.12 ... FetchType: Lazy and Eager Loading ... 5676.13 ... Cascading ... 5736.14 ... Repositories ... 5776.15 ... Summary ... 5857 ... Spring Data JPA ... 5877.1 ... What Tasks Does Spring Data Perform? ... 5877.2 ... Spring Data Commons: CrudRepository ... 5897.3 ... Subtypes of CrudRepository ... 5947.4 ... Paging and Sorting with [List]PagingAndSortingRepository ... 5987.5 ... QueryByExampleExecutor * ... 6087.6 ... Formulate Your Own Queries with @Query ... 6157.7 ... Stored Procedures * ... 6247.8 ... Derived Query Methods ... 6287.9 ... Criteria API and JpaSpecificationExecutor ... 6357.10 ... Alternatives to JDBC Jakarta Persistence ... 6477.11 ... Good Design with Repositories ... 6607.12 ... Projections ... 6647.13 ... [Fetchable]FluentQuery * ... 6707.14 ... Auditing * ... 6727.15 ... Incremental Data Migration ... 6757.16 ... Test the Data Access Layer ... 6827.17 ... Summary ... 6918 ... Spring Data for NoSQL Databases ... 6938.1 ... Not Only SQL ... 6938.2 ... MongoDB ... 6948.3 ... Elasticsearch ... 7078.4 ... Summary ... 7199 ... Spring Web ... 7219.1 ... Web Server ... 7219.2 ... Generate Dynamic Content ... 7289.3 ... Spring Web MVC ... 7329.4 ... Hot Code Swapping ... 7389.5 ... HTTP ... 7409.6 ... Request Matching ... 7429.7 ... Send Response ... 7459.8 ... Evaluate Request ... 7559.9 ... Type Conversion of the Parameters ... 7669.10 ... Exception Handling and Error Message ... 7759.11 ... RESTful API ... 7899.12 ... Asynchronous Web Requests * ... 8069.13 ... Spring Data Web Support ... 8119.14 ... Documentation of a RESTful API with OpenAPI ... 8179.15 ... Testing the Web Layer ... 8259.16 ... Best Practices When Using a RESTful API ... 8329.17 ... Secure Web Applications with Spring Security ... 8379.18 ... Consume RESTful Web Services ... 8679.19 ... Summary ... 87710 ... Logging and Monitoring ... 87910.1 ... Logging ... 87910.2 ... Logging Implementation ... 88010.3 ... Monitor Applications with Spring Boot Actuator ... 88510.4 ... Micrometer and Prometheus ... 89410.5 ... Summary ... 90011 ... Build and Deployment ... 90111.1 ... Package and Run Spring Boot Programs ... 90111.2 ... Spring Applications in the OCI Container ... 90411.3 ... Summary ... 915A ... Migration from Spring Boot 2 to Spring Boot 3 ... 917A.1 ... Preparation ... 917A.2 ... Jakarta EE 9 ... 917A.3 ... Other Innovations ... 918A.4 ... Spring-Boot-Properties-Migrator ... 919A.5 ... Spring Boot Migrator Project ... 919A.6 ... Dependency Upgrades ... 920B ... The Author ... 923... Index ... 925
ISBN-13:
9781493224753
Veröffentl:
2024
Erscheinungsdatum:
06.03.2024
Seiten:
934
Autor:
Christian Ullenboom
Gewicht:
1582 g
Format:
252x179x46 mm
Serie:
Rheinwerk Computing
Sprache:
Englisch

59,95 €*

Lieferzeit: Sofort lieferbari
Alle Preise inkl. MwSt. | zzgl. Versand