Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Pivotal Certified Professional Core Spring 5 Developer Exam - Iuliana Cosmina

Pivotal Certified Professional Core Spring 5 Developer Exam (eBook)

A Study Guide Using Spring Framework 5

(Autor)

eBook Download: PDF
2019 | 2nd ed.
XX, 1007 Seiten
Apress (Verlag)
978-1-4842-5136-2 (ISBN)
Systemvoraussetzungen
99,99 inkl. MwSt
(CHF 97,65)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Pass the Pivotal Certified Professional exam for Core Spring, based on the latest Spring Framework 5, using source code examples, study summaries, and mock exams. This book now includes WebFlux, reactive programming, and more found in Spring 5. You'll find a descriptive overview of certification-related Spring modules and a single example application demonstrating the use of all required Spring modules. 

Furthermore, in Pivotal Certified Professional Core Spring 5 Developer Exam, Second Edition, each chapter contains a brief study summary and question set, and the book's free downloadable source code package includes one mock exam (50 questions - like a real exam). After using this study guide, you will be ready to take and pass the Pivotal Certified Professional exam.

When you become Pivotal Certified, you will have one of the most valuable credentials in Java. Pivotal certification helps you advance your skills and your career, and get the maximum benefit from Spring. Passing the exam demonstrates your understanding of Spring and validates your familiarity with: container-basics, aspect oriented programming (AOP), data access and transactions, Spring Security, Spring Boot, microservices, and Spring model-view-controller (MVC). Good luck!


What You Will Learn

  • Understand the core principles of Spring Framework 5
  • Use dependency injection
  • Work with aspects in Spring and do AOP (aspect oriented programming)
  • Control transactional behavior and work with SQL and NoSQL databases
  • Create and secure web applications based on Spring MVC
  • Get to know the format of the exam and the type of questions in it
  • Create Spring microservices applications


Who This Book Is For

Spring developers who have taken the Pivotal Core Spring class are eligible to take the Pivotal Certified Professional exam. 




Iuliana Cosmina is currently a software engineer for NCR Edinburgh. She has been writing Java code since 2002 and contributed to various types of applications such as experimental search engines, ERPs, track and trace, and banking. During her career, she has been a teacher, a team leader, software architect, DevOps professional, and software manager. She is a Spring-certified Professional, as defined by Pivotal, the makers of Spring Framework, Boot, and other tools, and considers Spring the best Java framework to work with. When she is not programming, she spends her time reading, blogging, learning to play piano, travelling, hiking, or biking.

Pass the Pivotal Certified Professional exam for Core Spring, based on the latest Spring Framework 5, using source code examples, study summaries, and mock exams. This book now includes WebFlux, reactive programming, and more found in Spring 5. You'll find a descriptive overview of certification-related Spring modules and a single example application demonstrating the use of all required Spring modules. Furthermore, in Pivotal Certified Professional Core Spring 5 Developer Exam, Second Edition, each chapter contains a brief study summary and question set, and the book's free downloadable source code package includes one mock exam (50 questions - like a real exam). After using this study guide, you will be ready to take and pass the Pivotal Certified Professional exam.When you become Pivotal Certified, you will have one of the most valuable credentials in Java. Pivotal certification helps you advance your skills and your career, and get the maximum benefit from Spring. Passing the exam demonstrates your understanding of Spring and validates your familiarity with: container-basics, aspect oriented programming (AOP), data access and transactions, Spring Security, Spring Boot, microservices, and Spring model-view-controller (MVC). Good luck!What You Will LearnUnderstand the core principles of Spring Framework 5Use dependency injectionWork with aspects in Spring and do AOP (aspect oriented programming)Control transactional behavior and work with SQL and NoSQL databasesCreate and secure web applications based on Spring MVCGet to know the format of the exam and the type of questions in itCreate Spring microservices applicationsWho This Book Is ForSpring developers who have taken the Pivotal Core Spring class are eligible to take the Pivotal Certified Professional exam. 

Table of Contents 5
About the Author 12
About the Technical Reviewer 13
Acknowledgments 14
Introduction 15
Chapter 1: Book Overview 17
What Is Spring, and Why Should You Be Interested in It? 18
What Is the Focus of This Book? 21
Who Should Read This Book? 21
About the Certification Exam 22
How to Use This Book as a Study Guide 24
How Is This Book Structured? 24
How Each Chapter Is Structured 26
Conventions 26
Downloading the Code 27
Contacting the Author 27
Recommended Development Environment 28
Recommended JVM 28
Recommended Project Build Tool 29
Recommended IDE 30
The Project Sample 31
Chapter 2: Spring Bean Lifecycle and Configuration 38
Old-Style Application Development 40
Spring IoC Container and Dependency Injection 49
Providing Configuration via XML Files 52
Using Java Configuration 56
The Annotations 58
Spring Configuration Classes and the Application Context 62
Injection Types 76
Constructor Injection 82
Setter Injection 93
Field Injection 99
Bean Scopes 102
@AliasFor 118
Bean Lifecycle Under the Hood 120
Bean Declaration Inheritance 144
Injecting Dependencies That Are Not Beans 148
Using Bean Factories 164
More About Autowiring 172
Using Multiple Configuration Classes 178
Spring Boot 189
Configuration 191
Logging 203
Spring Initializr 204
Summary 210
Quiz 211
Chapter 3: Testing Spring Applications 215
A Few Types of Testing 216
Test-Driven Development 216
Unit and Integration Testing 218
Testing with Stubs 219
Unit Testing Using JUnit 225
Unit Testing Using JUnit 5 230
Testing with Mocks 234
EasyMock 235
jMock 240
Mockito 244
PowerMock 248
Testing with Spring 249
Testing with Spring and JUnit 4 249
Testing with Spring and JUnit 5 263
A Few Other Useful Spring Test Annotations 266
Using Profiles 271
Spring Boot Testing 276
Summary 283
Quick Quiz 284
Practical Exercise 286
Chapter 4: Aspect-Oriented Programming with Spring 291
Problems Solved by AOP 292
Spring AOP 297
AOP Terminology 298
Quick Start 299
Aspect Support Configuration using XML 308
Defining Pointcuts 309
Implementing Advice 319
Before 319
After Returning 321
After Throwing 323
After 325
Around 327
Conclusions 329
Using Aspects in a Spring Boot Application 334
Summary 335
Quick Quiz 335
Practical Exercise 336
Chapter 5: Data Access 338
Basic Data Access Using JDBC 339
Spring Data Access 343
Introducing JdbcTemplate 344
Querying with JdbcTemplate 360
Querying with NamedParameterJdbcTemplate 371
Spring Data Access Exceptions 378
Data Access Configuration in a Transactional Environment 382
How Transaction Management Works in Spring 386
Configure Transactions Support 389
Testing Transactional Methods 412
Making Third-Party Components Transactional 420
Spring Programmatic Transaction Model 428
**Distributed Transactions 429
Introducing Hibernate and ORM 431
Session and Hibernate Configuration 432
Session and Hibernate Querying 444
Exception Mapping 449
Object Relational Mapping 453
Java Persistence API 456
Configure Spring and JPA with Hibernate Support 458
JPA Querying 463
Advanced JPA, JTA, JNDI 467
Spring Data JPA 468
Spring Boot JPA 479
**Spring and MongoDB 483
Spring Boot Application with Embedded MongoDB 500
Summary 503
Quiz 504
Chapter 6: Spring Web 507
Spring Web MVC 508
Spring Web App Configuration 511
Quick Start 515
Controllers 515
Views and View Resolvers 541
XML Configuration 553
@MVC 559
Java Configuration for Spring MVC 561
Getting Rid of web.xml 564
Running a Spring Web Application 568
Running with Tomcat 570
Thymeleaf 577
Exception Handling 586
Testing a Spring Web Application 600
Building Web Applications Using Spring Boot 602
Summary 614
Quiz 615
Chapter 7: Spring Security 620
Security Basics 620
Spring Security Configuration 623
XML Configuration 623
Spring Security XML Configuration Without web.xml 642
Java Configuration 644
Using mvcMatchers 651
Security Tag Library 653
Method Security 658
Spring Security and Thymeleaf 663
Secured Spring Boot Web Applications 672
Testing Spring Boot–Secured Applications 679
Summary 685
Quiz 685
Chapter 8: Spring REST 687
What Is REST? 689
Spring Support for REST 692
HTTP Message Converters 696
Using Spring Boot to Expose REST Services 710
REST Operations 713
Handling Errors 720
Using RestTemplate to Test RESTful Applications 729
The Advantages of REST 749
Practice Section 750
Securing RESTful Spring Applications with Spring Boot 751
Basic Authentication 751
DIGEST Authentication 768
Client CERT Authentication 769
OAUTH2 API Keys 769
Summary 770
Quick Quiz 770
Chapter 9: Monitoring Spring Applications 773
Simple Monitoring of a Spring Application 774
Simple Monitoring of a Spring Boot Application 784
Default Endpoints 785
Exposing/Enabling and Hiding/Disabling Actuator Endpoints 797
Securing Actuator Endpoints 803
Custom Endpoints 807
Using Spring Boot Actuator with Micrometer 811
Summary 825
Quick Quiz 826
Chapter 10: Spring and Kotlin 828
Why Is Kotlin So Great? 830
Migrating a Spring Boot Application to Kotlin 837
Migrating the Web Interface 846
Creating the Entity Classes 847
Creating and Testing the Repositories 855
Creating the Controllers and Testing Them 858
Conclusion 862
Chapter 11: Microservices with Spring Cloud 863
Microservices with Spring 866
Registration and Discovery Server 870
Microservices Development 878
Microservices Communication 890
Things Worth Mentioning 903
Summary 908
Quick Quiz 909
Chapter 12: Building Reactive Applications Using Spring 911
Getting Familiar with Flux< T>
Spring Boot Reactive (Hybrid) Application 922
Getting Comfortable with Spring WebFlux 934
Using Spring Data R2DBC 954
Summary 962
Appendix A 964
Study Guide Projects 964
Gradle Configuration Explained 966
Building and troubleshooting 968
Deploy on Apache Tomcat 973
Quiz answers 977
Quiz Solutions for Chapter 2 978
Quiz Solutions for Chapter 3 979
Quiz Solutions for Chapter 4 979
Quiz Solutions for Chapter 5 979
Quiz Solutions for Chapter 6 980
Quiz Solutions for Chapter 7 980
Quiz Solutions for Chapter 8 981
Quiz Solutions for Chapter 9 981
Exam sample 981
Answers 994
Footnote 997
Index 998

Erscheint lt. Verlag 10.12.2019
Zusatzinfo XX, 1007 p. 196 illus., 189 illus. in color.
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Weitere Themen Zertifizierung
Schlagworte Certification • Code • Core Spring • Development • Exam • Java • Pivotal • programming • Software • source • Spring 5 • Spring Boot • Spring developer • Spring Developer Exam • Spring Framework • Study guide
ISBN-10 1-4842-5136-9 / 1484251369
ISBN-13 978-1-4842-5136-2 / 9781484251362
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 21,8 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich