Skip to main content
main-content

Über dieses Buch

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!

What You'll Learn

Understand the core principles of the popular Spring Framework

Use dependency injection

Work with aspects in Spring and do AOP (aspect oriented programming)

Control transactional behavior and work with SQL and NoSQL (MongoDB) databases

Create and secure web applications based on Spring MVC

Get to know the format of exam and type of questions in it

Create Spring microservices applications

Who This Book Is ForSpring developers who have taken the Pivotal Core Spring class are eligible to take the Pivotal Certified Professional exam.

Inhaltsverzeichnis

Frontmatter

Chapter 1. Book Overview

Spring is currently one of the most influential and rapidly growing Java frameworks. Every time a new startup idea is born, if the development language is Java, Spring will be taken into consideration. Spring will be fourteen years old on the first of October 2016, and it has grown into a full-fledged software technology over the years.

Iuliana Cosmina

Chapter 2. Spring Bean LifeCycle and Configuration

The Spring Framework provides an easy way to create, initialize, and connect objects into competent, decoupled, easy to test enterprise-ready applications. Every software application consists of software components that interact, that collaborate and depend on other components to successfully execute a set of tasks. Each software component provides a service to other components, and linking the customer and the provider component is the process known as Dependency Injection. Spring provides a very simplistic way to define the connections between them in order to create an application.

Iuliana Cosmina

Chapter 3. Testing Spring Applications

Before an application is delivered to the client, it has to be tested and validated for use by a team of professionals called testers. As you can imagine, testing an application after development is complete is a little too late, because perhaps specifications were not understood correctly, or were not complete. Also, the behavior of an application on an isolated development system differs considerably from the behavior on a production system. That is why there are multiple testing steps that have to be taken, some of them even before development. And there is also the human factor. Since no one is perfect, mistakes are made, and testing helps find those mistakes and fix them before the application reaches the end user, thus ensuring the quality of the software. The purpose of software testing is to verify that an application satisfies the functional (application provides the expected functions) and nonfunctional (application provides the expected functions as fast as expected and does not require more memory than is available on the system) requirements and to detect errors, and all activities of planning, preparation, evaluation, and validation are part of it.

Iuliana Cosmina

Chapter 4. Aspect Oriented Programming with Spring

AOP is an acronym for Aspect Oriented Programming, a term that refers to a type of programming that aims to increase modularity by allowing the separation of cross-cutting concerns. A cross-cutting concern is a functionality that is tangled with business code, which usually cannot be separated from the business logic. Auditing, security, and transaction management are good examples of cross-cutting concerns. They are mingled with the business code, heavily coupled with the functionality that might be affected if they fail. These are good candidates for separation using aspects, because there is no design pattern that would allow writing the code in such a way that they would be separated from the business logic. This means that additional behavior is added to existing behavior when the application is compiled. So transaction management, security logic, and auditing can be developed separately and mingled with the functionality at compile time. This is done by defining an advice containing code that will be executed in a location named join point specified by a point cut. This approach allows for code implementing behavior that is not related to business logic to be separated from functional code, the result being a more modular, less coupled, and less cluttered application.

Iuliana Cosmina

Chapter 5. Data Access

Software applications usually handle sets of data that must to be stored in an organized manner so they can be easily accessed, managed, and updated. The fact that data can be made to persist means that is can be available even when the application is down. So storage is decoupled from the rest of the application. The most common way of organizing data for storage is a database. Any storage setup that allows for data to be organized in such a way that can be queried and updated represents a database.

Iuliana Cosmina

Chapter 6. Spring Web

In previous chapters, multilayered style projects were depicted. On top of the service layer was always the presentation layer, or the Web layer. This layer is the top layer of an application, and its main function is to translate user actions into commands that lower-level layers can understand and transform results from them into user-understandable data.

Iuliana Cosmina

Chapter 7. Spring Advanced Topics

In the previous chapters, the objects handled by Spring were created on a JVM. These objects were accessed and manipulated indirectly by the user using the HTTP protocol. In this case, all that the end user needs to access the objects in the JVM is the web interface of the application.

Iuliana Cosmina

Chapter 8. Spring Microservices with Spring Cloud

Microservices is a paradigm that requires for services to be broken down into highly specialized instances as functionality and be interconnected through agnostic communication protocols (like REST, for example) that work together to accomplish a common business goal. Each microservice is a really small unit of stateless functionality, a process that does not care where the input is coming from and does not know where its output is going.

Iuliana Cosmina

Backmatter

Weitere Informationen

Premium Partner

Neuer Inhalt

BranchenIndex Online

Die B2B-Firmensuche für Industrie und Wirtschaft: Kostenfrei in Firmenprofilen nach Lieferanten, Herstellern, Dienstleistern und Händlern recherchieren.

Whitepaper

- ANZEIGE -

Product Lifecycle Management im Konzernumfeld – Herausforderungen, Lösungsansätze und Handlungsempfehlungen

Für produzierende Unternehmen hat sich Product Lifecycle Management in den letzten Jahrzehnten in wachsendem Maße zu einem strategisch wichtigen Ansatz entwickelt. Forciert durch steigende Effektivitäts- und Effizienzanforderungen stellen viele Unternehmen ihre Product Lifecycle Management-Prozesse und -Informationssysteme auf den Prüfstand. Der vorliegende Beitrag beschreibt entlang eines etablierten Analyseframeworks Herausforderungen und Lösungsansätze im Product Lifecycle Management im Konzernumfeld.
Jetzt gratis downloaden!

Bildnachweise