O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pivotal Certified Professional Spring Developer Exam: A Study Guide

Book Description

Pass the Pivotal Certified Professional exam using source code examples, study summaries, and mock exams. In this book, you'll find a descriptive overview of certification-related Spring modules and a single example application demonstrating the use of all required Spring modules. Also, it is suitable as an introductory primer for Spring newcomers.

Furthermore, in Pivotal Certified Professional Spring Developer Exam: A Study Guide 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. The demand for Spring skills is skyrocketing. 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 the Spring model-view-controller (MVC). Good luck!

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents at a Glance
  6. Contents
  7. About the Author
  8. About the Technical Reviewer
  9. Acknowledgments
  10. Introduction
  11. Chapter 1: Book Overview
    1. What Is Spring and Why Should You Be Interested in It?
    2. What Is the Focus of This Book?
    3. Who Should Read This Book?
    4. About the Certification Exam
    5. How to Use This Book as a Study Guide
    6. How Is This Book Structured?
      1. How Each Chapter Is Structured
    7. Recommended Development Environment
      1. Recommended JVM
      2. Recommended Project Build Tool
      3. Recommended IDE
      4. The Project Sample
  12. Chapter 2: Spring Bean LifeCycle and Configuration
    1. Old Style Application Development
    2. Spring IoC and Dependency Injection
    3. Spring Configuration
      1. Providing Configuration via XML
      2. Spicing Up XML Configuration
      3. Application Context and Bean Lifecycle
      4. Providing Configuration Using Java Configuration and Annotations
    4. Summary
    5. 2.1 Quick quiz
  13. Chapter 3: Testing Spring Applications
    1. A Few Types of Testing
    2. Test-Driven Development
    3. Unit and Integration Testing
      1. Testing with Stubs
      2. Testing with Mocks
    4. 3.1 Testing with Spring
      1. Using Profiles
    5. Summary
    6. Quick Quiz
    7. Practical Exercise
  14. Chapter 4: Aspect Oriented Programming with Spring
    1. Problems Solved by AOP
    2. Spring AOP
      1. AOP Terminology
      2. Quick Start
      3. Aspect Support Configuration using XML
      4. Defining Pointcuts
      5. Implementing Advice
      6. Conclusions
    3. Summary
    4. Quick Quiz
    5. Practical Exercise
  15. Chapter 5: Data Access
    1. Basic Data Access Using JDBC
    2. Spring Data Access
      1. Introducing JdbcTemplate
      2. Spring Data Access Exceptions
    3. Data Access Configuration In a Transactional Environment
    4. How Transaction Management Works in Spring
      1. Configure Transactions Support
    5. Introducing Hibernate and ORM
      1. Session and Hibernate Configuration
      2. Session and Hibernate Querying
      3. Exception Mapping
      4. Object Relational Mapping
      5. Java Persistence API
    6. Spring Data JPA
      1. **Spring and MongoDB
    7. Summary
    8. Quiz
  16. Chapter 6: Spring Web
    1. Spring Web App Configuration
      1. Quickstart
      2. XML
      3. @MVC
      4. Java Configuration for Spring MVC
      5. Getting Rid of web.xml
      6. Running a Spring Web Application
      7. Running with Jetty
      8. Running with Tomcat
    2. Spring Security
      1. Spring Security Configuration
      2. XML Configuration
      3. Spring XML Configuration without web.xml
      4. Java Configuration
      5. Security Tag Library
      6. Method Security
    3. Spring Boot
      1. Configuration
      2. Configuration Using YAML
      3. Logging
      4. Testing with Spring Boot
    4. Summary
    5. Quiz
  17. Chapter 7: Spring Advanced Topics
    1. Spring Remoting
      1. Spring Remote Configuration
    2. Spring JMS
      1. JMS Connections and Sessions
      2. JMS Messages
      3. JMS Destinations
      4. Apache ActiveMQ
      5. Spring JmsTemplate
      6. JMS with Spring Boot
    3. Spring Web Services
      1. SOAP Messages
      2. Generating Java Code with XJC
      3. Spring Boot WS Application
      4. Publishing WSDL
      5. Testing Web Services applications
    4. Spring REST
      1. Spring Support for REST
      2. Exception Handling
      3. HTTP Message Converters
      4. Spring MVC Configuration for RESTful Applications
      5. Using RestTemplate to Test RESTful Applications
      6. Advantages of REST
    5. Spring JMX
    6. JMX Architecture
      1. Plain JMX
      2. Spring JMX
    7. Summary
    8. Quick Quiz
  18. Chapter 8: Spring Microservices with Spring Cloud
    1. Microservices with Spring
      1. Registration and Discovery Server
      2. Microservices Development
      3. Microservices Communication
    2. More Novelties
      1. Practice Section
    3. Summary
    4. Quick Quiz
  19. Index