Search This Blog

Tuesday, October 23, 2018

Programación en Java. Uso de Spring Framework: 2ª Edición (Spanish Edition) review



Java es un lenguaje de programación orientado a objetos desarrollado en la década de 90 por un equipo de programadores capitaneado por James Gosling, en la empresa Sun Microsystems. A diferencia de los lenguajes convencionales, que son compilados a código nativo, el lenguaje Java se compila a un bytecode que es ejecutado por una máquina virtual. El lenguaje de programación Java es el lenguaje estándar de la Plataforma Java, pero no su único lenguaje.

La Plataforma Java es el nombre del entorno computacional, o plataforma, creada por la empresa estadounidense Sun Microsystems y vendida a la empresa Oracle hace algunos años. La plataforma permite desarrollar aplicaciones utilizando cualquiera de los lenguajes creados para la plataforma Java, siendo el lenguaje estándar el que lleva su propio nombre: el Lenguaje Java. Una gran ventaja de la plataforma es que no está sujeta a un único sistema oerativo o hardware, ya que sus programas se pueden ejecutar a través de una máquina virtual que puede ser emulada en cualquier sistema que soporte el programación lenguaje C++.

Desde su lanzamiento, en mayo de 1995, la plataforma Java fue adoptada más rápidamente que cualquier otro lenguaje de programación en la historia de la computación. En el año 2004 Java alcanzó la cifra de 3 millones de desarrolladores en todo el mundo. Java continuó creciendo y hoy en día es una referencia en el mercado de desarrollo de software. Java se hizo popular por su uso en internet y hoy en día tiene su entorno de ejecución presente en navegadores, mainframes, sistemas operativo, dispostivos móviles, tarjetas inteligentes etc.

Spring es un framework que da soporte al desarrollo de aplicaciones empresariales en Java, surgió como una alternativa ligera a la compleja plataforma J2EE, ganando muchísima popularidad entre los programadores.



Read more...

Monday, October 22, 2018

Pro Wicket (Expert's Voice in Java) review



The SourceForge open source lightweight Wicket project is a Java web application framework that takes simplicity, separation of concerns and ease of development to a new level. This book takes a no-nonsense approach, jumping directly to the practical aspects of Wicket. Chapters include Developing Wicket Forms; Validation with Wicket; Developing a Simple Application; Providing a Common Layout; Spring Integration; Wicket Localization; Wicket and Ajax; Custom Components and Wicket Extensions, and Unit Testing. Pro Wicket gets you quickly up and running with the framework and the attractively simple ‘wicket-way’ of addressing web development requirements.





Read more...

Spring 5.0 Microservices - Second Edition: Scalable systems with Reactive Streams and Spring Boot review



A practical, comprehensive, and user-friendly approach to building microservices in Spring

About This Book

  • Update existing applications to integrate reactive streams released as a part of Spring 5.0
  • Learn how to use Docker and Mesos to push the boundaries and build successful microservices
  • Upgrade the capability model to implement scalable microservices

Who This Book Is For

This book is ideal for Spring developers who want to build cloud-ready, Internet-scale applications, and simple RESTful services to meet modern business demands.

What You Will Learn

  • Familiarize yourself with the microservices architecture and its benefits
  • Find out how to avoid common challenges and pitfalls while developing microservices
  • Use Spring Boot and Spring Cloud to develop microservices
  • Handle logging and monitoring microservices
  • Leverage Reactive Programming in Spring 5.0 to build modern cloud native applications
  • Manage internet-scale microservices using Docker, Mesos, and Marathon
  • Gain insights into the latest inclusion of Reactive Streams in Spring and make applications more resilient and scalable

In Detail

The Spring Framework is an application framework and inversion of the control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions to build web applications on top of the Java EE platform.

This book will help you implement the microservice architecture in Spring Framework, Spring Boot, and Spring Cloud. Written to the latest specifications of Spring that focuses on Reactive Programming, you'll be able to build modern, internet-scale Java applications in no time. The book starts off with guidelines to implement responsive microservices at scale. Next, you will understand how Spring Boot is used to deploy serverless autonomous services by removing the need to have a heavyweight application server.

Later, you'll learn how to go further by deploying your microservices to Docker and managing them with Mesos. By the end of the book, you will have gained more clarity on the implementation of microservices using Spring Framework and will be able to use them in internet-scale deployments through real-world examples.

Style and approach

The book takes a step-by-step approach on developing microservices using Spring Framework, Spring Boot, and a set of Spring Cloud components that will help you scale your applications.





Read more...

Building RESTful Web Services with Spring 5 - Second Edition: Leverage the power of Spring 5.0, Java SE 9, and Spring Boot 2.0 review



Find out how to implement the REST architecture to build resilient software in Java with the help of the Spring 5.0 framework.

Key Features

  • Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service,
  • Leverage the Spring Framework to quickly implement RESTful endpoints,
  • Learn to implement a client library for a RESTful web service using the Spring Framework along with the new front end framework.

Book Description

REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs.The depth, breadth, and ease of use of Spring makes it one of the most attractive frameworks in the Java ecosystem. Marrying the two technologies is therefore a very natural choice.This book takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. Starting from the basics of the philosophy behind REST, you'll go through the steps of designing and implementing an enterprise-grade RESTful web service. Taking a practical approach, each chapter provides code samples that you can apply to your own circumstances.This second edition brings forth the power of the latest Spring 5.0 release, working with MVC built-in as well as the front end framework. It then goes beyond the use of Spring to explores approaches to tackle resilience, security, and scalability concerns. Improve performance of your applications with the new HTTP 2.0 standards. You'll learn techniques to deal with security in Spring and discover how to implement unit and integration test strategies.Finally, the book ends by walking you through building a Java client for your RESTful web service, along with some scaling techniques using the new Spring Reactive libraries.

What you will learn

  • Deep dive into the principles behind REST
  • Expose CRUD operations through RESTful endpoints with the Spring Framework
  • Devise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumers
  • Follow the best approaches for dealing with a service's evolution while maintaining backward compatibility
  • Understand techniques to secure web services
  • Comply with the best ways to test RESTful web services, including tips for load testing
  • Optimise and scale web services using techniques such as caching and clustering

Who This Book Is For

This book is intended for those who want to learn to build RESTful web services with the latest Spring 5.0 Framework. To make best use of the code samples included in the book, you should have a basic knowledge of the Java language. Previous experience with the Spring Framework would also help you get up and running quickly.

Table of Contents

  1. A Few Basics
  2. Building RESTful Web Service in Spring 5 with Maven
  3. Flux and Mono (Reactor Support) in Spring
  4. CRUD Operations in Spring REST
  5. CRUD Operations in Plain REST (without Reactive) and File Upload
  6. Spring Security and JWT (JSON Web Token)
  7. Testing RESTful Web Service
  8. Performance
  9. AOP and Logger Controls
  10. Building a REST Client and Error Handling
  11. Scaling
  12. Microservice Basics
  13. Ticket Management - Advanced CRUD




Read more...

Pro Spring 5: An In-Depth Guide to the Spring Framework and Its Tools review



Master Spring basics and core topics, and share the authors’ insights and real–world experiences with remoting, Hibernate, and EJB. Beyond the basics, you'll learn how to leverage the Spring Framework to build the various tiers and parts of an enterprise Java application: transactions, web and presentation tiers, deployment, and much more. A full sample application allows you to apply many of the technologies and techniques covered in Pro Spring 5 and see how they work together.

This book updates the perennial bestseller with the latest that the new Spring Framework 5 has to offer. Now in its fifth edition, this popular title is by far the most comprehensive and definitive treatment of Spring available. It covers the new functional web framework and interoperability with Java 9.

After reading this definitive book, you'll be armed with the power of Spring to build complex Spring applications, top to bottom.

The agile, lightweight, open-source Spring Framework

continues to be the de facto leading enterprise Java application development framework for today's Java programmers and developers. It works with other leading open-source, agile, and lightweight Java technologies such as Hibernate, Groovy, MyBatis, and more. Spring now works with Java EE and JPA 2 as well.

What You'll Learn

  • Discover what’s new in Spring Framework 5
  • Use the Spring Framework with Java 9
  • Master data access and transactions 
  • Work with the new functional web framework 
  • Create microservices and other web services 

Who This Book Is For

Experienced Java and enterprise Java developers and programmers. Some experience with Spring highly recommended.  






Read more...

Sunday, October 21, 2018

Spring 5 Design Patterns: Master efficient application development with patterns such as proxy, singleton, the template method, and more review



Key Features

  • Explore best practices for designing an application
  • Manage your code easily with Spring's Dependency Injection pattern
  • Understand the benefits that the right design patterns can offer your toolkit

Book Description

Design patterns help speed up the development process by offering well tested and proven solutions to common problems. These patterns coupled with the Spring framework offer tremendous improvements in the development process.

The book begins with an overview of Spring Framework 5.0 and design patterns. You will understand the Dependency Injection pattern, which is the main principle behind the decoupling process that Spring performs, thus making it easier to manage your code. You will learn how GoF patterns can be used in Application Design. You will then learn to use Proxy patterns in Aspect Oriented Programming and remoting. Moving on, you will understand the JDBC template patterns and their use in abstracting database access. Then, you will be introduced to MVC patterns to build Reactive web applications. Finally, you will move on to more advanced topics such as Reactive streams and Concurrency.

At the end of this book, you will be well equipped to develop efficient enterprise applications using Spring 5 with common design patterns

What you will learn

  • Develop applications using dependency injection patterns
  • Learn best practices to design enterprise applications
  • Explore Aspect-Oriented Programming relating to transactions, security, and caching.
  • Build web applications using traditional Spring MVC patterns
  • Learn to configure Spring using XML, annotations, and Java.
  • Implement caching to improve application performance.
  • Understand concurrency and handle multiple connections inside a web server.
  • Utilizing Reactive Programming Pattern to build Reactive web applications.

About the Author

Dinesh Rajput is the chief editor of a website Dineshonjava, a technical blog dedicated to the Spring and Java technologies. It has a series of articles related to Java technologies. Dinesh has been a Spring enthusiast since 2008 and is a Pivotal Certified Spring Professional, an author, and a blogger. He has more than 10 years of experience with different aspects of Spring and Java design and development. His core expertise lies in the latest version of Spring Framework, Spring Boot, Spring Security, creating REST APIs, Microservice Architecture, Reactive Pattern, Spring AOP, Design Patterns, Struts, Hibernate, Web Services, Spring Batch, Cassandra, MongoDB, and Web Application Design and Architecture.

Table of Contents

  1. Overview of Spring Framework 5.0 and Used Design Patterns
  2. Best Practices with Consideration of Patterns for Spring Application
  3. Consideration of Structural and Behavioural Patterns into Spring
  4. Wiring beans using Dependency Injection Pattern
  5. Understanding Bean Life cycle and Used Patterns
  6. Spring Aspect Oriented Programming with Proxy Pattern
  7. Accessing Database with spring and JDBC template patterns
  8. Accessing Database with spring and ORM template patterns
  9. Improving performance of Application using Caching patterns
  10. Implementing MVC pattern in a Web Application with Spring
  11. Using Reactive Pattern in Programming
  12. Implementing Concurrency Patterns




Read more...

Getting started with Spring Framework: covers Spring 5 review



PDF version of this book is now available: smashwords.com/books/view/842918

Chapter 1 of this book is now available onlinebit.ly/2z8ErGg

4th Edition reflects changes to Spring 5, and includes new chapters on Functional and Reactive application development. Reactive application development chapters cover Reactive Streams specification, RxJava 2, Reactor, Spring WebFlux, and reactive support in Spring Data and Spring Security

The examples (consisting of 88 sample projects) that accompany this book are based on Spring 5.0.1 and Java 9. You can download the examples described in this book from the following GitHub project: github.com/getting-started-with-spring/4thEdition 

This book covers: 
- Spring Framework basics 
- Aspect-oriented programming 
- Database interaction using Spring and Hibernate/JPA 
- Spring Data JPA 
- Spring Data MongoDB 
- Messaging, emailing and caching support 
- Spring Web MVC 
- Developing RESTful web services using Spring Web MVC 
- Functional programming using lambdas and method references 
- Stream API 
- Reactive programming using RxJava 2 and Reactor 
- Spring WebFlux 
- Reactive support in Spring Data MongoDB and Spring Security 
- Developing reactive RESTful web services using Spring WebFlux, Spring Security and Spring Data MongoDB




Read more...

Spock: Up and Running: Writing Expressive Tests in Java and Groovy review



Most developers would agree that writing automated tests is a good idea, but writing good, well-structured tests is still an elusive skill for many. For Java and Groovy developers, however, there’s good news. This practical guide shows you how to write concise and highly readable tests with Spock, the most innovative testing and specification framework for the JVM since JUnit.

Author Rob Fletcher takes you from Spock basics to advanced topics, using fully worked integration examples. Through the course of this book, you’ll build a simple web application—Squawker—that allows users to post short messages. You’ll discover how much easier it is to write automated tests with Spock’s straightforward and expressive language.

  • Start by learning how to write simple unit tests
  • Understand the lifecycle of Spock specifications and feature methods
  • Dive into interaction testing, using Spock’s intuitive syntax for dealing with mocks and stubs
  • Learn about parameterized tests—writing feature methods that run for multiple sets of data
  • Move into advanced topics, such as writing idiomatic Spock code and driving parameterized tests with file or database input
  • Learn how everything works together in a standalone, fully-worked, test-driven development example


Most developers would agree that writing automated tests is a good idea, but writing good, well-structured tests is still an elusive skill for many. For Java and Groovy developers, however, there’s good news. This practical guide shows you how to write concise and highly readable tests with Spock, the most innovative testing and specification framework for the JVM since JUnit.

Author Rob Fletcher takes you from Spock basics to advanced topics, using fully worked integration examples. Through the course of this book, you’ll build a simple web application—Squawker—that allows users to post short messages. You’ll discover how much easier it is to write automated tests with Spock’s straightforward and expressive language.

  • Start by learning how to write simple unit tests
  • Understand the lifecycle of Spock specifications and feature methods
  • Dive into interaction testing, using Spock’s intuitive syntax for dealing with mocks and stubs
  • Learn about parameterized tests—writing feature methods that run for multiple sets of data
  • Move into advanced topics, such as writing idiomatic Spock code and driving parameterized tests with file or database input
  • Learn how everything works together in a standalone, fully-worked, test-driven development example


Read more...

Spring Boot: How To Get Started and Build a Microservice review



Please buy the heavily revised second edition: enter B076BNFL5P in the search box


All feedback given in the reviews is integrated in the second edition.


Learn to build your first Spring Boot application with an actionable and hands-on approach in just a few hours!

Learning new technology can be fast and fun. With this custom tailored learning plan you get a head start and learn step by step to build microservices with Spring Boot by actually building one.



In a few hours, you have built your first microservice with Spring Boot and moved to a new level while other developers are still wading through hundreds of pages of a fluffy compendium telling them everything about Spring Boot and still leaving them back with no clue.



We build a real application (less than 850 lines of code though) using a standard Maven project structure together, and I will explain you the steps and libraries involved on the go.



You learn best by coding. The way I love learning too.



What you will build:

We build a Microservice for storing comments and providing a REST Interface for interacting with the data. The sample application is modeled after a real production application to guide you through building your first Spring Boot application.




What you will learn:
  • How to build a microservice with Spring Boot 1.5.x
  • How to work with a relational database using the Spring Data JPA Framework
  • How to write the REST API using Spring MVC
  • How to create a service layer and integrate a legacy library using its own Spring ApplicationContext in an XML file
  • How to test the application
  • A simple way to secure you application
  • How to use monitoring and health check out of the box with Spring Boot
  • How to deploy your application

This book is for you when
  • you have experience with Java and want to learn Spring Boot
  • you already work with the Spring Framework, but you are new to Spring Boot
  • you love building applications and learning new technologies

It is NOT for you if
  • your most advanced program was HelloWorld
  • you like reading fluffy compendiums
  • you don't know the Java language at all

And if you have questions, do not hesitate and contact me using the email address at the end of the book. I'll answer your questions and improve the book with your feedback.



Updates:
- 6th April: Revised testing sections and code, updated to Spring Boot 1.5.2
- 11th February: Updated book and source code to Spring Boot 1.5.1 and added section about the log level changing during runtime.




Read more...

Saturday, October 20, 2018

Beginning Spring Boot 2: Applications and Microservices with the Spring Framework review



Learn Spring Boot and how to build Java-based enterprise, web, and microservice applications with it. In this book, you'll see how to work with relational and NoSQL databases, build your first microservice, enterprise, or web application, and enhance that application with REST APIs. You'll also learn how to build reactive web applications using Spring Boot along with Spring Web Reactive. Then you’ll secure your Spring Boot-created application or service before testing and deploying it.

After reading and learning with Beginning Spring Boot 2, you'll have the skills and techniques to start building your first Spring Boot applications and microservices with confidence to take the next steps in your career journey.

What You'll Learn

  • Use Spring Boot autoconfiguration
  • Work with relational and NoSQL databases
  • Build web applications with Spring Boot
  • Apply REST APIs using Spring Boot
  • Create reactive web applications using Spring Web Reactive
  • Secure your Spring Boot applications or web services
  • Test and deploy your Spring Boot applications


Who This Book Is For

Experienced Java and Spring Framework developers who are new to the new Spring Boot micro-framework.





Read more...

Rapid Modernization of Java Applications: Practical Business and Technical Solutions for Upgrading Your Enterprise Portfolio (Oracle Press) review



Implement a High-Performance Enterprise Java Application Modernization Strategy

Learn cutting-edge techniques and processes to systematically and strategically modernize legacy Java applications with predictability, consistency, and confidence. This Oracle Press guide offers an innovative blueprint that empowers corporate management teams to better understand necessary technical requirements and enables Java architects and developers to better align with agile business needs. Rapid Modernization of Java Applications: Practical Business and Technical Solutions for Upgrading Your Enterprise Portfolio contains modernization approaches that offer end-to-end Java application portfolio visibility so that application modernization projects can stay on-schedule and within budget.





Read more...

Kotlin Blueprints: A practical guide to building industry-grade web, mobile, and desktop applications in Kotlin using frameworks such as Spring Boot and Node.js review



Get to know the building blocks of Kotlin and best practices when using quality world-class applications

Key Features

  • Learn to build exciting and scalable Android and web applications (both the server-side and client-side parts) with your Kotlin skills
  • Dive into the great ecosystem of Kotlin frameworks and libraries through projects that you’ll build using this book
  • This project-based guide contains clear instructions to help you extend your applications across a wide domain

Book Description

Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable, and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Kotlin’s growth is fueled through carefully designed business and technology benefits.

The collection of projects demonstrates the versatility of the language and enables you to build standalone applications on your own. You’ll build comprehensive applications using the various features of Kotlin. Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book.

You’ll learn how to build a social media aggregator app that will help you efficiently track various feeds, develop a geospatial webservice with Kotlin and Spring Boot, build responsive web applications with Kotlin, build a REST API for a news feed reader, and build a server-side chat application with Kotlin.

It also covers the various libraries and frameworks used in the projects. Through the course of building applications, you’ll not only get to grips with the various features of Kotlin, but you’ll also discover how to design and prototype professional-grade applications.

What you will learn

  • See how Kotlin's power and versatility make it a great choice to create applications across various platforms, and how it delivers business and technology benefits
  • Write a robust web applications using Kotlin with Spring Boot
  • Write Android applications with ease using Kotlin
  • Write rich desktop applications in Kotlin
  • Learn how Kotlin can generate Javascript and how this can be used on client side and server side development
  • Understand how native applications can be written with Kotlin/Native
  • Learn the practical aspects of programming in each of the applications

Who This Book Is For

This practical guide is for programmers who are already familiar with Kotlin. If you are familiar with Kotlin and want to put your knowledge to work, then this is the book for you. Kotlin programming knowledge is a must.

Table of Contents

  1. The Power of Kotlin
  2. Geospatial Messenger
  3. Social Media Aggregator Android App
  4. Weather App Using Kotlin for JavaScript
  5. Chat Application with Server-side JavaScript Generation
  6. News Feed - REST API
  7. CSV Reader in Kotlin Native
  8. Dictionary Desktop Application - Tornado FX




Read more...

Building Web Apps with Spring 5 and Angular review



A complete guide to build robust and scalable web applications with Spring and Angular.

About This Book

  • This hands on guide will teach you how to build an end-to-end modern web application using Spring and Angular.
  • It is easy to read and will benefit Java developers who have been used to develop the back-end part of web application while front-end (UI) has been left for UI developers.
  • Learn the core aspects involved in developing the backend and the UI, right from designing to integrating and deploying.

Who This Book Is For

This book is targeted towards Java Web Developers with a basic knowledge of Spring who want to build complete web applications in a fast and effective way. They will want to gain a stronghold on both frontend and backend development to advance in their careers.

What You Will Learn

  • Set up development environment for Spring Web App and Angular app.
  • Process web request and response and build REST API endpoints.
  • Create data access components using Spring Web MVC framework and Hibernate
  • Use Junit 5 to test your application
  • Learn the fundamental concepts around building Angular
  • Configure and use Routes and Components.
  • Protect Angular app content from common web vulnerabilities and attacks.
  • Integrate Angular apps with Spring Boot Web API endpoints
  • Deploy the web application based on CI and CD using Jenkins and Docker containers

In Detail

Spring is the most popular application development framework being adopted by millions of developers around the world to create high performing, easily



Read more...

Friday, October 19, 2018

Learning Spring 5.0 review



Key Features

  • Build an enterprise application throughout the book that communicates with a microservice
  • Define and inject dependencies into your objects using the IoC container
  • Make use of Spring's reactive features including tools and implement a reactive Spring MVC application

Book Description

Spring is the most widely used framework for Java programming and with its latest update to 5.0, the framework is undergoing massive changes. Built to work with both Java 8 and Java 9, Spring 5.0 promises to simplify the way developers write code, while still being able to create robust, enterprise applications.

If you want to learn how to get around the Spring framework and use it to build your own amazing applications, then this book is for you.

Beginning with an introduction to Spring and setting up the environment, the book will teach you in detail about the Bean life cycle and help you discover the power of wiring for dependency injection. Gradually, you will learn the core elements of Aspect-Oriented Programming and how to work with Spring MVC and then understand how to link to the database and persist data configuring ORM, using Hibernate.

You will then learn how to secure and test your applications using the Spring-test and Spring-Security modules. At the end, you will enhance your development skills by getting to grips with the integration of RESTful APIs, building microservices, and doing reactive programming using Spring, as well as messaging with WebSocket and STOMP.

What you will learn

  • Get to know the basics of Spring development and gain fundamental knowledge about why and where to use Spring Framework
  • Explore the power of Beans using Dependency Injection,



Read more...

Effective Java (3rd Edition) review

Read more...

Spring 5.0 Cookbook: Recipes to build, test, and run Spring applications efficiently review



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. 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



Read more...

Reactive Programming With Java 9: Build Asynchronous applications with Rx.Java 2.0, Flow API and Spring WebFlux review



Key Features

  • Learn about Java 9's Flow API, Reactive programming along with Kafka and Mockito, and how these aspects are utilized by RxJava
  • Build fast and concurrent applications with ease, without the complexity of Java's concurrent API and shared states, with the help of Spring
  • Explore a wide variety of code examples to easily get used to all the features and tools provided by RxJava

Book Description

Reactive programming is an asynchronous programming model that helps you tackle the essential complexity that comes with writing such applications.

Using Reactive programming to start building applications is not immediately intuitive to a developer who has been writing programs in the imperative paradigm. To tackle the essential complexity, Reactive programming uses declarative and functional paradigms to build programs. This book sets out to make the paradigm shift easy.

This book begins by explaining what Reactive programming is, the Reactive manifesto, and the Reactive Streams specifi cation. It uses Java 9 to introduce the declarative and functional paradigm, which is necessary to write programs in the Reactive style. It explains Java 9's Flow API, an adoption of the Reactive Streams specifi cation. From this point on, it focuses on RxJava 2.0, covering topics such as creating, transforming,fi ltering, combining, and testing Observables. It discusses how to use Java's popular framework, Spring, to build event-driven, Reactive applications. You will also learn how to implement resiliency patterns using Hystrix. By the end, you will be fully equipped with the tools and techniques needed to implement robust, event-driven, Reactive applications.

What you will learn

  • Understand the Reactive Manifesto
  • Grasp the Reactive Streams types introduced in Java 9 in the form of the Flow API
  • Use RxJava, a Reactive Streams implementation, to build asynchronous applications
  • Build responsiveness and resilience into applications using RxJava operators
  • Demonstrate the usage of Hystrix, a latency and fault tolerance library from Netfl ix that uses RxJava
  • Implement Reactive web applications using Spring Framework 5 and RxJava

About the Author

Tejaswini Mandar Jog is a passionate and enthusiastic Java trainer. She has more than nine years of experience in the IT training field, specializing in Java, J2EE, Spring, and relevant technologies. She has worked with many renowned corporate companies on training and skill enhancement programs. She is also involved in the development of projects using Java, Spring, and Hibernate. Tejaswini has written two books. In her first book, Learning Modular Java Programming, the reader explores the power of modular programming to build applications with Java and Spring. The second book, Learning Spring 5.0, explores building an application using the Spring 5.0 framework with the latest modules such as WebFlux for dealing with reactive programming.

Table of Contents

  1. Introduction to reactive programming
  2. Programming paradigm shift
  3. Reactive streams
  4. Reactive types in RxJava
  5. Operators
  6. Building responsiveness
  7. Building resiliency
  8. Testing
  9. Spring reactive web
  10. Implementing resiliency patterns using Hystrix
  11. Reactive Data Access




Read more...

Thursday, October 18, 2018

Java 9 Dependency Injection: Write loosely coupled code with Spring 5 and Guice review



Create clean code with Dependency Injection principles

Key Features

  • Use DI to make your code loosely coupled to manage and test your applications easily on Spring 5 and Google Guice
  • Learn the best practices and methodologies to implement DI
  • Write more maintainable Java code by decoupling your objects from their implementations

Book Description

Dependency Injection (DI) is a design pattern that allows us to remove the hard-coded dependencies and make our application loosely coupled, extendable, and maintainable. We can implement DI to move the dependency resolution from compile-time to runtime. This book will be your one stop guide to write loosely coupled code using the latest features of Java 9 with frameworks such as Spring 5 and Google Guice.

We begin by explaining what DI is and teaching you about IoC containers. Then you’ll learn about object compositions and their role in DI. You’ll find out how to build a modular application and learn how to use DI to focus your efforts on the business logic unique to your application and let the framework handle the infrastructure work to put it all together.

Moving on, you’ll gain knowledge of Java 9’s new features and modular framework and how DI works in Java 9. Next, we’ll explore Spring and Guice, the popular frameworks for DI. You’ll see how to define injection keys and configure them at the framework-specific level. After that, you’ll find out about the different types of scopes available in both popular frameworks. You’ll see how to manage dependency of cross-cutting concerns while writing applications through aspect-oriented programming.

Towards the end, you’ll learn to integrate any third-party library in your DI-enabled application and explore common pitfalls and recommendations to build a solid application with the help of best practices, patterns, and anti-patterns in DI.

What you will learn

  • Understand the benefits of DI and fo from a tightly coupled design to a cleaner design organized around dependencies
  • See Java 9’s new features and modular framework
  • Set up Guice and Spring in an application so that it can be used for DI
  • Write integration tests for DI applications
  • Use scopes to handle complex application scenarios
  • Integrate any third-party library in your DI-enabled application
  • Implement Aspect-Oriented Programming to handle common cross-cutting concerns such as logging, authentication, and transactions
  • Understand IoC patterns and anti-patterns in DI

Who this book is for

This book is for Java developers who would like to implement DI in their application. Prior knowledge of the Spring and Guice frameworks and Java programming is assumed.

Table of Contents

  1. Why Dependency Injection?
  2. Dependency Injection in Java 9
  3. Dependency Injection with Spring
  4. Dependency Injection with Google Guice
  5. Scopes
  6. Aspect-Oriented Programming and Interceptors
  7. IoC Patterns and Best Practices




Read more...

Spring 5.0 By Example: Grasp the fundamentals of Spring 5.0 to build modern, robust, and scalable Java applications review



Discover the real power of Spring Framework 5.0 and learn to create powerful applications in its newest version

Key Features

  • Learn reactive programming by implementing a reactive application with Spring Webflux
  • Create a robust and scalable messaging application with Spring messaging support
  • Apply your knowledge to build three real-world projects in Spring

Book Description

With growing demands, organizations are looking for systems that are robust and scalable. Therefore, the Spring Framework has become the most popular framework for Java development. It not only simplifies software development but also improves developer productivity. This book covers effective ways to develop robust applications in Java using Spring.

The book has three parts, where each one covers the building of a comprehensive project in Java and Spring. In the first part, you will construct a CMS Portal using Spring's support for building REST APIs. You will also learn to integrate these APIs with AngularJS and later develop this application in a reactive fashion using Project Reactor, Spring WebFlux, and Spring Data. In the second part, you'll understand how to build a messaging application, which will consume the Twitter API and perform filtering and transformations. Here, you will also learn about server-sent events and explore Spring's support for Kotlin, which makes application development quick and efficient. In the last part, you will build a real microservice application using the most important techniques and patterns such as service discovery, circuit breakers, security, data streams, monitoring, and a lot more from this architectural style.

By the end of the book, you will be confident about using Spring to build your applications.

What you will learn

  • Implement REST APIs with Spring REST support
  • Introduce the Spring Boot and understand how it makes creating robust applications extremely simple
  • Understand how Spring Data helps us add persistence in MongoDB and SQL databases
  • Introduce Reactive Programming and use this with Spring Webflux
  • Implement a Reactive REST client and learn how it can create asynchronous applications
  • Create a robust, scalable, and fault tolerant application with Spring Messaging
  • Implement a websocket to add interactive behaviors in your applications
  • Introduce the Spring Cloud projects

Who This Book Is For

If you're a developer starting out with Spring, then this book will help you learn about the new Spring 5.0 framework concepts followed by their implementation in Java and Kotlin. The book will also help experienced Spring developers gain insights into the new features added in Spring 5.0.

Table of Contents

  1. Journey to the Spring World
  2. Starting in the Spring World - the CMS
  3. Persistence with Spring Data and Reactive Fashion
  4. Kotlin Basics and Spring Data Redis
  5. Reactive Web Clients
  6. Playing with Server-Sent Events
  7. Airline Ticket System
  8. Circuit Breakers and Security
  9. Putting It All Together




Read more...

Spring 5 Recipes: A Problem-Solution Approach review



Solve all your Spring 5 problems using complete and real-world code examples. When you start a new project, you’ll be able to copy the code and configuration files from this book, and then modify them for your needs. This can save you a great deal of work over creating a project from scratch.

The recipes in Spring 5 Recipes cover Spring fundamentals such as Spring IoC container, Spring AOP/ AspectJ, and more. Other recipes include Spring enterprise solutions for topics such as Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data and the cloud using Hadoop and MongoDB. Finally, Spring web recipes cover Spring MVC, other dynamic scripting, integration with the popular Grails Framework (and Groovy), REST/web services, and more.

You’ll also see recipes on new topics such as Spring Framework 5, reactive Spring, Spring 5 microservices, the functional web framework and much more.

This book

builds upon the best-selling success of the previous editions and focuses on the latest Spring Framework features for building enterprise Java applications. 

What You'll Learn

  • Get re-usable code recipes and snippets for core Spring, annotations and other development tools
  • Access Spring MVC for web development
  • Work with Spring REST and microservices for web services development and integration into your enterprise Java applications
  • Use Spring Batch, NoSQL and big data for building and integrating various cloud computing services and resources
  • Integrate Java Enterprise Edition and other Java APIs for use in Spring
  • Use Grails code and much more

Who This Book Is For

Experienced Java and Spring programmers.  






Read more...

Learning Spring Boot 2.0 - Second Edition: Simplify the development of lightning fast applications based on microservices and reactive programming review



Key Features

  • Get up to date with the defining characteristics of Spring Boot 2.0 in Spring Framework 5
  • Learn to perform Reactive programming with SpringBoot
  • Learn about developer tools, AMQP messaging, WebSockets, security, MongoDB data access, REST, and more

Book Description

Spring Boot provides a variety of features that address today's business needs along with today's scalable requirements. In this book, you will learn how to leverage powerful databases and Spring Boot's state-of-the-art WebFlux framework. This practical guide will help you get up and running with all the latest features of Spring Boot, especially the new Reactor-based toolkit.

The book starts off by helping you build a simple app, then shows you how to bundle and deploy it to the cloud. From here, we take you through reactive programming, showing you how to interact with controllers and templates and handle data access. Once you're done, you can start writing unit tests, slice tests, embedded container tests, and even autoconfiguration tests.

We go into detail about developer tools, AMQP messaging, WebSockets, security, and deployment. You will learn how to secure your application using both routes and method-based rules. By the end of the book, you'll have built a social media platform from which to apply the lessons you have learned to any problem. If you want a good understanding of building scalable applications using the core functionality of Spring Boot, this is the book for you.

What you will learn

  • Create powerful, production-grade applications and services with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support with features
  • Find out how to tweak your apps through different properties
  • Use custom metrics to track the number of messages published and consumed
  • Enhance the security model of your apps
  • Make use of reactive programming in Spring Boot
  • Build anything from lightweight unit tests to fully running embedded web container integration tests

About the Author

Greg L. Turnquist has been a software professional since 1997. In 2002, he joined the senior software team that worked on Harris' $3.5 billion FAA telco program, architecting mission-critical enterprise apps while managing a software team. He provided after-hours support to a nation-wide system and is no stranger to midnight failures and software triages. In 2010, he joined the SpringSource division of VMware, which was spun off into Pivotal in 2013.

As a test-bitten script junky, Java geek, and JavaScript Padawan, he is a member of the Spring Data team and the lead for Spring Session MongoDB. He has made key contributions to Spring Boot, Spring HATEOAS, and Spring Data REST while also serving as editor-at-large for Spring's Getting Started Guides.

Greg wrote technical best sellers Python Testing Cookbook and Learning Spring Boot, First Edition, for Packt. When he isn't slinging code, Greg enters the world of magic and cross swords, having written the speculative fiction action and adventure novel, Darklight.

He completed his master's degree in computer engineering at Auburn University and lives in the United States with his family.

Table of Contents

  1. Quick Start with Java
  2. Reactive Web with Spring Boot
  3. Reactive Data Access with Spring Boot
  4. Testing with Spring Boot
  5. Developer Tools for Spring Boot Apps
  6. AMQP Messaging with Spring Boot
  7. Microservices with Spring Boot
  8. WebSockets with Spring Boot
  9. Securing Your App with Spring Boot
  10. Taking your app to production with Spring Boot




Read more...

Mastering Spring 5.0: Master reactive programming, microservices, Cloud Native applications, and more review



Key Features

  • Explore the new features and components in Spring
  • Evolve towards micro services and cloud native applications
  • Gain powerful insights into advanced concepts of Spring and Spring Boot to develop applications more effectively
  • Understand the basics of Kotlin and use it to develop a quick service with Spring Boot

Book Description

Spring 5.0 is due to arrive with a myriad of new and exciting features that will change the way we've used the framework so far. This book will show you this evolution-from solving the problems of testable applications to building distributed applications on the cloud.

The book begins with an insight into the new features in Spring 5.0 and shows you how to build an application using Spring MVC. You will realize how application architectures have evolved from monoliths to those built around microservices. You will then get a thorough understanding of how to build and extend microservices using Spring Boot. You will also understand how to build and deploy Cloud-Native microservices with Spring Cloud. The advanced features of Spring Boot will be illustrated through powerful examples. We will be introduced to a JVM language that's quickly gaining popularity - Kotlin. Also, we will discuss how to set up a Kotlin project in Eclipse.

By the end of the book, you will be equipped with the knowledge and best practices required to develop microservices with the Spring Framework.

What you will learn

  • Explore the new features in Spring Framework 5.0
  • Build microservices with Spring Boot
  • Get to know the advanced features of Spring Boot in order to effectively develop and monitor applications
  • Use Spring Cloud to deploy and manage applications on the Cloud
  • Understand Spring Data and Spring Cloud Data Flow
  • Understand the basics of reactive programming
  • Get to know the best practices when developing applications with the Spring Framework
  • Create a new project using Kotlin and implement a couple of basic services with unit and integration testing

About the Author

Ranga Rao Karanam is a programmer, trainer, and architect. His areas of interest include Cloud Native Applications, microservices, evolutionary design, high-quality code, DevOps, BDD, TDD, and refactoring. He loves consulting for start-ups on developing scalable, component-based Cloud Native applications, and following modern development practices such as BDD, continuous delivery, and DevOps. He loves the freedom the Spring Framework brings to developing enterprise Java applications.

Ranga started in28minutes with the vision of creating high-quality courses on developing Cloud Native Java applications. He is looking forward to enhancing his already considerable success--75,000 students on Udemy and 35,000 subscribers on YouTube.

Ranga likes to play cricket and go hiking. His dream is to spend a year hiking the Himalayas.

Table of Contents

  1. Evolution to Spring Framework 5.0
  2. Dependency Injection
  3. Building a Web Application with Spring MVC
  4. Evolution toward Microservices and Cloud-Native Applications
  5. Building Microservices with Spring Boot
  6. Extending Microservices
  7. Advanced Spring Boot Features
  8. Spring Data
  9. Spring Cloud
  10. Spring Cloud Data Flow
  11. Reactive Programming
  12. Spring Best Practices
  13. Working with Kotlin in Spring




Read more...

Wednesday, October 17, 2018

Spring in Action review



Spring Framework has been making Java developers more productive and successful for over a dozen years, and it shows no signs of slowing down!

Spring in Action, 5th Edition is the fully-updated revision of Manning's bestselling Spring in Action. This new edition includes all Spring 5.0 updates, along with new examples on reactive programming, Spring WebFlux, and microservices. Readers will also find the latest Spring best practices, including Spring Boot for application setup and configuration.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.





Read more...

Pro Spring Boot 2: An Authoritative Guide to Building Microservices, Web and Enterprise Applications, and Best Practices review



Quickly and productively develop complex Spring applications and microservices out of the box, with minimal concern over things like configurations. This revised book will show you how to fully leverage the Spring Boot 2 technology and how to apply it to create enterprise ready applications that just work.  It will also cover what's been added to the new Spring Boot 2 release, including Spring Framework 5 features like WebFlux, Security, Actuator and the new way to expose Metrics through Micrometer framework, and more.

This book is your authoritative hands-on practical guide for increasing your enterprise Java and cloud application productivity while decreasing development time. It's a no nonsense guide with case studies of increasing complexity throughout the book. The author, a senior solutions architect and Principal Technical instructor with Pivotal, the company behind the Spring Framework, shares his experience, insights and first-hand knowledge about how Spring Boot technology works and best practices.

Pro Spring Boot 2 is an essential book for your Spring learning and reference library.

What You Will Learn

  • Configure and use Spring Boot 
  • Use non-functional requirements with Spring Boot Actuator
  • Carry out web development with Spring Boot
  • Persistence with JDBC, JPA and NoSQL Databases
  • Messaging with JMS, RabbitMQ and WebSockets
  • Test and deploy with Spring Boot
  • A quick look at the Spring Cloud projects
  • Microservices and deployment to the Cloud
  • Extend Spring Boot by creating your own Spring Boot Starter and @Enable feature
Who This Book Is For

Experienced Spring and Java developers seeking increased productivity gains and decreased complexity and development time in their applications and software services.





Read more...

Hands-On Full Stack Development with Spring Boot 2.0 and React: Build modern and scalable full stack applications using the Java-based Spring Framework 5.0 and React review



Develop efficient and modern full-stack applications using Spring Boot and React 16

Key Features

  • Develop resourceful backends using Spring Boot and faultless frontends using React.
  • Explore the techniques involved in creating a full-stack app by going through a methodical approach.
  • Learn to add CRUD functionalities and use Material UI in the user interface to make it more user-friendly.

Book Description

Apart from knowing how to write frontend and backend code, a full-stack engineer has to tackle all the problems that are encountered in the application development life cycle, starting from a simple idea to UI design, the technical design, and all the way to implementing, testing, production, deployment, and monitoring. This book covers the full set of technologies that you need to know to become a full-stack web developer with Spring Boot for the backend and React for the frontend.

This comprehensive guide demonstrates how to build a modern full-stack application in practice. This book will teach you how to build RESTful API endpoints and work with the data access Layer of Spring, using Hibernate as the ORM. As we move ahead, you will be introduced to the other components of Spring, such as Spring Security, which will teach you how to secure the backend. Then, we will move on to the frontend, where you will be introduced to React, a modern JavaScript library for building fast and reliable user interfaces, and its app development environment and components.

You will also create a Docker container for your application. Finally, the book will lay out the best practices that underpin professional full-stack web development.

What you will learn

  • Create a RESTful web service with Spring Boot
  • Understand how to use React for frontend programming
  • Gain knowledge of how to create unit tests using JUnit
  • Discover the techniques that go into securing the backend using Spring Security
  • Learn how to use Material UI in the user interface to make it more user-friendly
  • Create a React app by using the Create React App starter kit made by Facebook

Who This Book Is For

Java developers who are familiar with Spring, but have not yet built full-stack applications

Table of Contents

  1. Setting up Environment & Tools
  2. Using JPA to create and access database
  3. Creating RESTful Web Service with Spring Boot
  4. Securing & Testing your back end
  5. Setting up environment and tools
  6. Getting started with React
  7. Consuming REST API with React
  8. Useful 3rd party components for React
  9. Setting up Front-end to our Spring Boot RESTful Web Service
  10. Adding CRUD functionalities
  11. Styling Front-End with React Material-UI
  12. Testing your front-end
  13. Securing your application
  14. Deploying your application
  15. Best Practices




Read more...

Reactive Programming in Spring 5.0 review



Key Features

  • Learn what kind of system the modern business wants.
  • Unlock deeper levels of insight into the Reactive Programming and Spring 5 Framework.
  • Apply your knowledge to build, test, and release real Reactive System.

Book Description

Today, the business needs a new type of systems that can remain responsive at any time. This result is achievable, and in our day this kind of System is called Reactive, that means - reacts to changes. The development of such systems is a complex task, required the deep understanding of the domain. Fortunately, the value of this approach was seen by the developers of the Spring Framework, and as a result, a new, reactive version of the project was developed. With this book, you will dive into the fascinating story of developing a reactive system using the Spring Framework 5.

Beginning with the foundations of Spring Reactive Programming, you will learn the possibilities of the Framework, get an understanding of the fundamentals of Reactivity. Further, the story thread will hook a lot of decisions that will allow creating a full-fledged Reactive System; you will study the techniques of Reactive Programming, learn how to apply it to databases and as well for cross-server communication. All that things will be considered in the real project example, will enable the developer to exercise learned skills in practice and will turn it all on to the Reactive Revolution with Spring 5!

What you will learn

  • Get a clear distinguish between Reactive System and Reactive Programming
  • Understand benefits of Reactive System
  • Understand the application of Reactive System
  • Find out how to use Reactive Programming in Spring 5
  • Get an understanding of Project Reactor
  • Build Reactive System using Spring 5 and Project Reactor
  • Create highly efficient Reactive Microservice with Spring Cloud
  • Test, monitor and release the Reactive Application

About the Author

Oleh Dokuka is a passionate Software Engineer with more than seven years of Software Engineering in different areas. During the last three years, the Author has been working on the development of Enterprise Software and Distributed Systemes, especially using Spring Stack. From the very beginning of Spring 5 development, the Author has been keeping his hand on the pulse of the framework's evolution and has already given a few interesting speech about Spring 5, Reactive Programming in Spring 5 and Project Reactor.

Igor Lozynskyi is a Senior Java Developer primarily focused on the development of reliable, scalable, and blazingly fast systems. Has over 7 years of experience with Java platform. Passionate about interesting and dynamic projects both in life and in software development.





Read more...

Tuesday, October 16, 2018

Spring Boot: How To Get Started and Build a Microservice - Second Edition (Brief books for developers) (Volume 1) review



Sale for a short time - regular price 14.95$

Heavily revised and extended 2nd edition

From Zero Spring Experience to Building Your First Microservice with Spring Boot 2

Learn to build your first microservice with Spring Boot. Together we will write a production-ready microservice with a REST API in just a few hours. All starting from having zero experience with Spring at all.

Updated to use Spring Boot 2.0.0.RELEASE

Our guides give you brief lessons on a single topic to get you started in no time. We leave the fluff out so you can focus and learn better and faster. Stop wasting hours of your life with watching video courses or reading boring compendiums. Use our guide and save your precious time and be way ahead of your competitors on that next big project.

We build a real application (less than 850 lines of code though) using a standard Maven project structure together, and I will explain you the steps and libraries involved on the go.

You learn best by coding. The way I love learning too. And not by reading fluffy compendiums or watching 10 hours and more of videos. Sure, you can do that, but any developer following my guide will be way ahead of you before you are even halfway through that video course.

What you will build:
We build a Microservice for storing comments and providing a REST Interface for interacting with the data. The sample application is modeled after a real production application to guide you through building your first Spring Boot application.

What you will learn:
  • What problem the Spring Framework actually solves
  • The basics of the Spring Framework aka Core
  • How to build a microservice with Spring Boot 2
  • How to work with a relational database using the Spring Data JPA Framework
  • How to write the REST API using Spring MVC
  • How to create a service layer and integrate a legacy library using its own Spring ApplicationContext in an XML file
  • How to test the application
  • A simple way to secure your application
  • How to use monitoring and health check out of the box with Spring Boot
  • How to deploy your application
  • How to navigate in the project with Maven

You must have experience with Java as we are not covering Java basics. Everything else we use is covered in the pocket guide.

If you have questions, do not hesitate to contact me using the email address at the end of the book. I'll answer your questions and improve the book with your feedback.





Read more...

Spring Microservices in Action review



Summary

Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Microservices break up your code into small, distributed, and independent services that require careful forethought and design. Fortunately, Spring Boot and Spring Cloud simplify your microservice applications, just as the Spring Framework simplifies enterprise Java development. Spring Boot removes the boilerplate code involved with writing a REST-based service. Spring Cloud provides a suite of tools for the discovery, routing, and deployment of microservices to the enterprise and the cloud.

About the Book

Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform. You'll learn to do microservice design as you build and deploy your first Spring Cloud application. Throughout the book, carefully selected real-life examples expose microservice-based patterns for configuring, routing, scaling, and deploying your services. You'll see how Spring's intuitive tooling can help augment and refactor existing applications with micro services.

What's Inside

  • Core microservice design principles
  • Managing configuration with Spring Cloud Config
  • Client-side resiliency with Spring, Hystrix, and Ribbon
  • Intelligent routing using Netflix Zuul
  • Deploying Spring Cloud applications

About the Reader

This book is written for developers with Java and Spring experience.

About the Author

John Carnell is a senior cloud engineer with twenty years of experience in Java.

Table of contents

  1. Welcome to the cloud, Spring
  2. Building microservices with Spring Boot
  3. Controlling your configuration with Spring Cloud configuration server
  4. On service discovery
  5. When bad things happen: client resiliency patterns with Spring Cloud and Netflix Hystrix
  6. Service routing with Spring Cloud and Zuul
  7. Securing your microservices
  8. Event-driven architecture with Spring Cloud Stream
  9. Distributed tracing with Spring Cloud Sleuth and Zipkin
  10. Deploying your microservices




Read more...

Cloud Native Java: Designing Resilient Systems with Spring Boot, Spring Cloud, and Cloud Foundry review



What separates the traditional enterprise from the likes of Amazon, Netflix, and Etsy? Those companies have refined the art of cloud native development to maintain their competitive edge and stay well ahead of the competition. This practical guide shows Java/JVM developers how to build better software, faster, using Spring Boot, Spring Cloud, and Cloud Foundry.

Many organizations have already waded into cloud computing, test-driven development, microservices, and continuous integration and delivery. Authors Josh Long and Kenny Bastani fully immerse you in the tools and methodologies that will help you transform your legacy application into one that is genuinely cloud native.

In four sections, this book takes you through:

  • The Basics: learn the motivations behind cloud native thinking; configure and test a Spring Boot application; and move your legacy application to the cloud
  • Web Services: build HTTP and RESTful services with Spring; route requests in your distributed system; and build edge services closer to the data
  • Data Integration: manage your data with Spring Data, and integrate distributed services with Spring’s support for event-driven, messaging-centric architectures
  • Production: make your system observable; use service brokers to connect stateful services; and understand the big ideas behind continuous delivery




Read more...

Spring Boot 2 Recipes: A Problem-Solution Approach review



Solve all your Spring Boot 2 problems using complete and real-world code examples. When you start a new project, you’ll be able to copy the code and configuration files from this book, and then modify them for your needs. This can save you a great deal of work over creating a project from scratch.

Using a problem-solution approach, Spring Boot 2 Recipes quickly introduces you to Pivotal's Spring Boot 2 micro-framework, then dives into code snippets on how to apply and integrate Spring Boot 2 with the Spring MVC web framework, Spring Web Sockets, and microservices. You'll also get solutions to common problems with persistence, integrating Spring Boot with batch processing, algorithmic programming via Spring Batch, and much more. Other recipes cover topics such as using and integrating Boot with Spring's enterprise services, Spring Integration, testing, monitoring and more.


What You'll Learn
  • Get reusable code recipes and snippets for the Spring Boot 2 micro-framework 
  • Discover how Spring Boot 2 integrates with other Spring APIs, tools, and frameworks
  • Access Spring MVC and the new Spring Web Sockets for simpler web development
  • Work with microservices for web services development and integration with your Spring Boot applications
  • Add persistence and a data tier seamlessly to make your Spring Boot web application do more
  • Integrate enterprise services to create a more complex Java application using Spring Boot

Who This Book Is For

Experienced Java and Spring programmers.  




Read more...