Spring 5.0 cookbook recipes to build, test and run Spring applications efficiently

The upcoming version of the Spring Framework has a lot to offer, above and beyond the platform upgrade to Java 9, and this book will show you all you need to know to overcome common to advanced problems you might face. Each recipe will showcase some old and new issues and solutions, right from confi...

Full description

Bibliographic Details
Main Author: Tragura, Sherwin John Calleja
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2017
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 13614nmm a2200505 u 4500
001 EB001945945
003 EBX01000000000000001108847
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781787129689 
050 4 |a TK5105.888 
100 1 |a Tragura, Sherwin John Calleja 
245 0 0 |a Spring 5.0 cookbook  |b recipes to build, test and run Spring applications efficiently  |c Sherwin John Calleja Tragura 
246 3 1 |a Spring five point zero cookbook 
260 |a Birmingham, UK  |b Packt Publishing  |c 2017 
300 |a 1 volume  |b illustrations 
505 0 |a How it works... -- Implementing Stream manipulation and transformation -- Getting ready -- How to do it... -- How it works... -- Testing Reactive data transactions -- Getting ready -- How to do it... -- How it works... -- Implementing Reactive events using RxJava 2.x -- Getting ready -- How to do it... -- How it works... -- Chapter 8: Reactive Web Applications -- Configuring the TaskExecutor -- Getting started -- How to do it... -- How it works... -- SimpleAsyncTaskExecutor -- ThreadPoolTaskExecutor -- ConcurrentTaskExecutor -- Implementing @Async services -- Getting started -- How to do it... -- How it works... -- Creating asynchronous controllers -- Getting started -- How to do it... -- How it works... -- Creating @Scheduled services -- Getting started -- How to do it... -- How it works... -- Using Future&amp -- lt -- T&amp -- gt -- and CallableFuture&amp -- lt -- T&amp -- gt -- Getting started -- How to do it... -- How it works... -- Using Mono&amp -- lt -- T&amp -- gt -- and Flux&amp -- lt -- T&amp -- gt -- publishers for services -- Getting started -- How to do it... -- How it works... -- Creating Mono&amp -- lt -- T&amp -- gt -- and Flux&amp -- lt -- T&amp -- gt -- HTTP response -- Getting started -- How to do it... -- How it works... -- Integrating RxJava 2.0 -- Getting started -- How to do it... -- How it works... -- Using FreeMarker to render Publisher&amp -- lt -- T&amp -- gt -- stream -- Getting started -- How to do it... -- How it works... -- Using Thymeleaf to render a Publisher&amp -- lt -- T&amp -- gt -- stream -- Getting started -- How to do it... -- How it works... -- Applying security on TaskExecutors -- Getting started -- How to do it... -- How it works... -- Chapter 9: Spring Boot 2.0 -- Building a non-reactive Spring MVC application -- Getting started -- How to do it... -- How it works... -- Configuring Logging 
505 0 |a Controlling concurrent user access -- Getting started -- How to do it... -- How it works... -- Implementing a mini-workflow using AOP -- Getting started -- How to do it... -- How it works... -- Chapter 6: Functional Programming -- Implementing lambda expressions using anonymous inner classes -- Getting started -- How to do it... -- How it works... -- Implementing lambda expression using @FunctionInterface -- Getting started -- How to do it... -- How it works... -- Applying the built-in functional interfaces -- Getting started -- How to do it... -- How it works... -- Applying method and constructor references -- Getting started -- How to do it... -- How it works... -- Using the Stream API -- Getting started -- How to do it... -- How it works... -- Applying streams to collections -- Getting started -- How to do it... -- How it works... -- Applying streams to NIO 2.0 -- Getting started -- How to do it... -- How it works... -- Using parallel streams -- Getting started -- How to do it... -- How it works... -- Chapter 7: Reactive Programming -- Applying the observer design pattern using Reactive Streams -- Getting started -- How to do it... -- How it works... -- Creating Mono&amp -- lt -- T&amp -- gt -- and Flux&amp -- lt -- T&amp -- gt -- publishers -- Getting started -- How to do it... -- How it works... -- Implementing the Subscriber&amp -- lt -- T&amp -- gt -- interface -- Getting ready -- How to do it... -- How it works... -- Applying backpressure to Mono&amp -- lt -- T&amp -- gt -- and Flux&amp -- lt -- T&amp -- gt -- Getting ready -- How to do it... -- How it works... -- Managing task executions using Schedulers -- Getting ready -- How to do it... -- How it works... -- Creating concurrent and parallel emissions -- Getting ready -- How to do it... -- How it works... -- Managing continuous data emission -- Getting ready -- How to do it 
505 0 |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Spring -- Installing Java Development Kit 1.8 -- Getting started -- How to do it... -- How it works... -- Installing Tomcat 9 and configuring HTTP/2 -- Getting started -- How to do it... -- How it works... -- Installing STS Eclipse 3.8 IDE -- Getting started -- How to do it... -- How it works... -- Creating Eclipse projects using Maven -- Getting started -- How to do it... -- How it works... -- Creating Spring STS Eclipse projects using Gradle -- Getting started -- How to do it... -- How it works... -- Deploying Spring projects using Maven -- Getting started -- How to do it... -- How it works... -- Deploying Spring projects using Gradle -- Getting started -- How to do it... -- How it works... -- Installing the MySQL 5.7 database server -- Getting started -- How to do it... -- How it works... -- Installing the MongoDB 3.2 database server -- Getting started -- How to do it... -- How it works... -- Chapter 2: Learning Dependency Injection (DI) -- Implementing a Spring container using XML -- Getting started -- How to do it... -- How it works... -- Implementing a Spring container using JavaConfig -- Getting started -- How to do it... -- How it works... -- Managing beans in an XML-based container -- Getting started -- How to do it... -- How it works... -- Managing beans in the JavaConfig container -- Getting started -- How to do it... -- How it works... -- Creating Singleton and Prototype beans -- Getting started -- How to do it... -- How it works... -- Defining eager and lazy spring beans -- Getting started -- How to do it... -- How it works... -- Creating an inner bean -- Getting started -- How to do it... -- How it works... -- Injecting Collections and Properties 
505 0 |a How to do it... -- How it works... -- Implementing authentication filters, login success, and failure handlers -- Getting started -- How to do it... -- How it works... -- Creating user details -- Getting started -- How to do it... -- How it works... -- Generating encrypted passwords -- Getting started -- How to do it... -- How it works... -- Applying Security to MVC methods -- Getting started -- How to do it... -- How it works... -- Creating roles and permissions from the database -- Getting started -- How to do it... -- How it works... -- Managing and storing sessions -- Getting started -- How to do it... -- How it works... -- Solving Cross-Site Request Forgery (CSRF) and session fixation attacks -- Getting started -- How to do it... -- How it works... -- Solving Cross-Site Scripting (XSS) and clickjacking attacks -- Getting started -- How to do it... -- How it works... -- Creating interceptors for login data validation -- Getting started -- How to do it... -- How it works... -- Chapter 5: Cross-Cutting the MVC -- Logging and auditing service methods -- Getting started -- How to do it... -- How it works... -- Managing DAO transactions -- Getting started -- How to do it... -- How it works... -- Monitoring services and request handlers -- Getting started -- How to do it... -- How it works... -- Validating parameters and arguments -- Getting started -- How to do it... -- How it works... -- Managing exceptions -- Getting started -- How to do it... -- How it works... -- Implementing the caching mechanism -- Getting started -- How to do it... -- How it works... -- Intercepting request transactions -- Getting started -- How to do it... -- How it works... -- Implementing user authentication -- Getting started -- How to do it... -- How it works... -- Accessing with restrictions -- Getting started -- How to do it... -- How it works 
505 0 |a Getting started -- How to do it... -- How it works... -- Creating a Spring MVC using an XML-based approach -- Getting started -- How to do it... -- How it works... -- Creating a Spring MVC using the JavaConfig approach -- Getting started -- How to do it... -- How it works... -- Generating multiple ApplicationContexts -- Getting started -- How to do it... -- How it works... -- Using ResourceBundleMessageSource for Views -- Getting started -- How to do it... -- How it works... -- Chapter 3: Implementing MVC Design Patterns -- Creating the simple @Controller -- Getting started -- How to do it... -- How it works... -- Creating a simple @Controller with method-level URL mapping -- Getting started -- How to do it... -- How it works... -- Designing a simple form @Controller -- Getting started -- How to do it... -- How it works... -- Creating a multi-action @Controller -- Getting started -- How to do it... -- How it works... -- Form validation and parameter type conversion -- Getting started -- How to do it... -- How it works... -- Creating request- and session-scoped beans -- Getting started -- How to do it... -- How it works... -- Implementing page redirection and Flash-scoped beans -- Getting started -- How to do it... -- How it works... -- Creating database connection pooling -- Getting started -- How to do it... -- How it works... -- Implementing the DAO layer using the Spring JDBC Framework -- Getting Started -- How to do it... -- How it works... -- Creating a service layer in an MVC application -- Getting started -- How to do it... -- How it works... -- Chapter 4: Securing Spring MVC Applications -- Configuring Spring Security 4.2.2 -- Getting started -- How to do it... -- How it works... -- Mapping sessions to channels and ports -- Getting started -- How to do it... -- How it works... -- Customizing the authentication process -- Getting started 
653 |a Logiciels d'application / Développement 
653 |a Application software / Development / fast 
653 |a Spring (Software framework) / http://id.loc.gov/authorities/names/n2017044371 
653 |a Spring (Software framework) / fast 
653 |a Java (Computer program language) / fast 
653 |a Web site development / http://id.loc.gov/authorities/subjects/sh98004795 
653 |a Sites Web / Développement 
653 |a Java (Langage de programmation) 
653 |a Java (Computer program language) / http://id.loc.gov/authorities/subjects/sh95008574 
653 |a Web site development / fast 
653 |a COOKING / General / bisacsh 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
776 |z 9781787129689 
776 |z 9781787128316 
776 |z 1787129683 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781787128316/?ar  |x Verlag  |3 Volltext 
082 0 |a 331 
082 0 |a 641.5 
520 |a The upcoming version of the Spring Framework has a lot to offer, above and beyond the platform upgrade to Java 9, and this book will show you all you need to know to overcome common to advanced problems you might face. Each recipe will showcase some old and new issues and solutions, right from configuring Spring 5.0 container to testing its components. Most importantly, the book will highlight concurrent processes, asynchronous MVC and reactive programming using Reactor Core APIs. Aside from the core components, this book will also include integration of third-party technologies that are mostly needed in building enterprise applications. By the end of the book, the reader will not only be well versed with the essential concepts of Spri .. 
520 |a Over 100 hands-on recipes to build web applications easily and efficiently IN Spring 5.0 About This Book Solve real-world problems using the latest features of the Spring framework like Reactive Streams and the Functional Web Framework. Learn how to use dependency injection and aspect-oriented programming to write compartmentalized and testable code. Understand when to choose between Spring MVC and Spring Web Reactive for your projects Who This Book Is For Java developers who would like to gain in-depth knowledge of how to overcome problems that they face while developing great Spring applications. It will also cater to Spring enthusiasts, users and experts who need an arena for comparative analysis, new ideas and inquiries on some details regarding Spring 5.0 and its previous releases.  
520 |a A basic knowledge of Spring development is essential What You Will Learn Understand how functional programming and concurrency in JDK 1.9 works, and how it will affect Spring 5.0 Learn the importance and application of reactive programming in creating services, and also the process of creating asynchronous MVC applications Implement different Spring Data modules Integrate Spring Security to the container Create applications and deploy using Spring Boot Conceptualize the architecture behind Microservices and learn the details of its implementation Create different test cases for the components of Spring 5.0 components In Detail The Spring framework has been the go-to framework for Java developers for quite some time. It enhances modularity, provides more readable code, and enables the developer to focus on developing the application while the underlying framework takes care of transaction APIs, remote APIs, JMX APIs, and JMS APIs.