Search This Blog

Showing posts with label ava 21 Java best books from Amazon. Show all posts
Showing posts with label ava 21 Java best books from Amazon. Show all posts

Thursday, November 29, 2018

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

Wednesday, November 28, 2018

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

Spring in Action review



Summary

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. You'll 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.

About the Technology

Spring Framework makes life easier for Java developers. New features in Spring 5 bring its productivity-focused approach to microservices, reactive development, and other modern application designs. With Spring Boot now fully integrated, you can start even complex projects with minimal configuration code. And the upgraded WebFlux framework supports reactive apps right out of the box!

About the Book

Spring in Action, 5th Edition guides you through Spring's core features, explained in Craig Walls' famously clear style. You'll roll up your sleeves and build a secure database-backed web app step by step. Along the way, you'll explore reactive programming, microservices, service discovery, RESTful APIs, deployment, and expert best practices. Whether you're just discovering Spring or leveling up to Spring 5.0, this Manning classic is your ticket!

What's inside

  • Building reactive applications
  • Spring MVC for web apps and RESTful web services
  • Securing applications with Spring Security
  • Covers Spring 5.0
  • Over 100,000 copies sold!

About the Reader

For intermediate Java developers.

About the Author

Craig Walls is a principal software engineer at Pivotal, a popular author, an enthusiastic supporter of Spring Framework, and a frequent conference speaker.

Table of Contents

  1. PART 1 - FOUNDATIONAL SPRING

  2. Getting started with Spring
  3. Developing web applications
  4. Working with data
  5. Securing Spring
  6. Working with configuration properties

    PART 2 - INTEGRATED SPRING

  7. Creating REST services
  8. Consuming REST services
  9. Sending messages asynchronously
  10. Integrating Spring

    PART 3 - REACTIVE SPRING

  11. Introducing Reactor
  12. Developing reactive APIs
  13. Persisting data reactively

    PART 4

    CLOUD-NATIVE SPRING
  14. Discovering services
  15. Managing configuration
  16. Handling failure and latency

    PART 5 - DEPLOYED SPRING

  17. Working with Spring Boot Actuator
  18. Administering Spring
  19. Monitoring Spring with JMX
  20. Deploying Spring




Read more...

Hands-On Reactive Programming in Spring 5: Build cloud-ready, reactive systems with Spring 5 and Project Reactor review



Explore the reactive system and create efficient microservices with Spring Boot 2.1 and Spring Cloud

Key Features

  • Understand the kind of system modern businesses require with Spring
  • Gain deeper insights into reactive programming with Reactor and Spring Cloud
  • Get in-depth knowledge on asynchronous and nonblocking communication with Spring 5 WebFlux

Book Description

These days, businesses need a new type of system that can remain responsive at all times. This is achievable with reactive programming; however, the development of these kinds of systems is a complex task, requiring a deep understanding of the domain. In order to develop highly responsive systems, the developers of the Spring Framework came up with Project Reactor.

Hands-On Reactive Programming in Spring 5 begins with the fundamentals of Spring Reactive programming. You’ll explore the endless possibilities of building efficient reactive systems with the Spring 5 Framework along with other tools such as WebFlux and Spring Boot. Further on, you’ll study reactive programming techniques and apply them to databases and cross-server communication. You will advance your skills in scaling up Spring Cloud Streams and run independent, high-performant reactive microservices.

By the end of the book, you will be able to put your skills to use and get on board with the reactive revolution in Spring 5.1!

What you will learn

  • Discover the difference between a reactive system and reactive programming
  • Explore the benefits of a reactive system and understand its applications
  • Get to grips with using reactive programming in Spring 5
  • Gain an understanding of Project Reactor
  • Build a reactive system using Spring 5 and Project Reactor
  • Create a highly efficient reactive microservice with Spring Cloud
  • Test, monitor, and release reactive applications

Who this book is for

This book is for Java developers who use Spring to develop their applications and want to build robust and reactive applications that can scale in the cloud. Basic knowledge of distributed systems and asynchronous programming will help you understand the concepts covered in this book.

Table of Contents

  1. Why Reactive Spring
  2. Reactive Programming in Spring - Basic Concepts
  3. Reactive Streams - the new Streams’ Standard
  4. Project Reactor - the Foundation for Reactive Apps
  5. Going Reactive with Spring Boot 2
  6. Async nonblocking communication with Spring 5 WebFlux
  7. Reactive Database access
  8. Scale up with Spring Cloud Streams and Reactive Microservices
  9. Testing the Reactive Application
  10. And, Finally Release It




Read more...

supring kaitaishinsho: supuringubuto2dejissainitsukuttemanaberu (Japanese Edition) review



【後悔しないためのSpring入門書】
 あなたが今、この本を手に取っているということは、これからSpringを使った開発をする予定があるのだと思います。私もSpringを使った開発をするにあたり、一通りの本を読みました。ただ、どれも満足するものがありませんでした。その理由は、以下の通りです。

●動かせるサンプルコードが載っていないため、実際の使い方が分からない
 他の本でよくあるのが、リファレンス、つまり辞書みたいに説明をしていることがあります。例えば、こういうコードを書けば、DBからselectできるよ、という書き方です。そのような本も必要なのですが、これを実際に動かしてみると、どうやって動かせばいいの?と、なります。なぜなら、コードを動かす前に自分で設定をしたり、仕様を考えなければいけないからです。DBの操作なら、まだ簡単に試せますが、中には試しづらい機能もあります。動かしてみると、思わぬ落とし穴があったりするので結局、試行錯誤の繰り返しになってしまいます。仕事以外にもやりたいことはあるのに、これでは時間を無駄にしてしまうことになります。

●サンプルがあってもごく簡単なもので、実戦では使い物にならない
 また、サンプルがあったとしても、すごく簡単なものが多いです。最初はその方が分かりやすいのですが、現場で求められるレベルはその先にあります。応用レベルまで身に付けてはじめて、実戦に出れるのです。

●Springの全てを説明していない
 Springは、とても大きいフレームワークで、いくつかの機能毎にフレームワークが分かれています。例えば、セキュリティならSpring Security、Webアプリケーション開発ならSpringBootなど、たくさんのフレームワークがあります。ここで残念なことに、SpringBootの入門書を読んでいると、SpringBootだけの説明をしていることがあります。本格的なWebアプリケーションを開発するには、SpringBoot以外にも、Spring Security、DB操作などについても知らないと開発ができません。結局、他の本も買うはめになってしまいます。

●DI(依存性の注入)の説明がとても分かりづらい
とても残念なことなのですが、他の書籍ではDI(依存性の注入)の説明が分かりづらいことがあります。DI(依存性の注入)とは、Springのコア(土台)となる機能です。これが使えないと、Springを使う意味がなくなってしまいます。

 Springはそもそも機能が膨大なので、1冊で説明しきることはもちろんできません。ただ、段階的にきちっと学習すれば、すぐに実戦レベルにまでなれます。

 そこで、本書では実際に1つのWebアプリケーションを作成していきます。そうすることで、実戦的なWebアプリケーション開発を体験学習できるからです。

 もちろん、ただサンプルを動かせるようにしただけではありません。本書には以下の特徴があります。


【効率的な学習で、1週間で身に付けることも可能!】
 効率的な学習方法は色々ありますが、実際にやってみるというのは、効率的に身に付ける方法の1つです。

 また、実際に動かしてみることには、他のメリットもあります。それは、自信が付くということです。どういうことかというと、何でも初めてのことは誰だって怖いものです。初めてだと、ちゃんと動くかな?動いたあとも、バグが起きないか、などを心配して行動できなくなることがあります。少なくとも、私はそうです。これが、1回でも体験していると、1回やったから大丈夫!となる訳です。

 また、本書で作成するサンプルコードは実戦を想定して作っています。そのため、出来上がったコードを参照・再利用すれば、実際の現場でもすぐに活躍できるはずです。そうすれば、残業とは無縁で、アフター5を楽しめると思います。

 1つのWebアプリケーションを作成していくため、順番に読んでいくような構成となっています。例えば、最初は入力チェック、次にAOP、DB操作…というように、段々と機能を追加していきます。そのため、本書は1章から順番に読んでいくことをオススメします。

 忙しい方のために、各章のはじめとおわり時点のサンプルコードをダウンロードできるようになっています。こうすることで、途中からでも実際にコードを作っていくことができるようになっています。


【とことん分かりやすさを追及!】
 本書では、理解しやすくなるために、色々な工夫をしています。例えば、以下のような工夫をしています。

●図解を多く盛り込む
 説明のときに図があるかないかで、理解のしやすさが全く変わってきます。私自身、図がないと分かりづらいタイプの人間ということもあり、図解を多く盛り込んで、理解をしやすくしてます。

●ステップバイステップ
 何かを教えたり伝える際には、注意しなければならないことがあります。それは、伝えることは1つにするということです。一度にたくさんのことを言われても、頭がこんがらがってしまいます(私がそうです)。特に、本では文字と図でしか説明できないため、なおさら重要になります。だから本書では、1度に伝えることは1つにしています。その分、説明やコードが長くなってしまいますが、とても理解がしやすくなるはずです。

●事前の説明でゴールを明確に
 実際にサンプルコードを作る前に、まずは何を作っていくのかを説明します。例えば、データベースから検索するために、検索条件の入力項目を追加するなどです。画面イメージなどで先に説明したあとに作ってもらいます(もちろん、読むだけでもOKです)。なぜこんなことをするかというと、理解しやすくなるからです。これから何をするんだ?と、ゴールが分からない状態よりも、目的が分かっている状態で作ったほうが理解が深まります。

 また、DI(依存性の注入)の説明には、特に力を入れてます。私は、ネットでDIについて調べたり、他書を何回も読み直して、やっと理解できました。そこで、なぜ他の書籍ではDIの説明が分かりづらいのかが判明しました。他書では、Java上級者やSpring経験者向けの説明になっているからです。

 だから本書では、Java初心者でも理解できるレベルから、DI(依存性の注入)の説明をしています。もちろん、Java上級者、Spring経験者でも理解ができるようになっています。


【対象読者】
 本書を読むにあたって、以下の知識があることが望ましいです。
・Javaの基礎
・HTMLの基礎
・SQLの基礎

 あくまでも、フレームワークという道具の使い方について学んでいくだけですので、基礎レベルであれば十分です。


【アプリケーションの構成】
 本書で開発するWebアプリケーションは、以下の構成で作っていきます。

・Spring:5系
・SpringBoot: 2.0.4
・DB:H2

 本書のサンプルコードは、なるべくバージョンに関係ない、汎用的なコードを載せています。とはいえ、バージョンが上がったことにより、他の書籍などでは分からないこともあります。なぜなら、執筆時点では、SpringBootのバージョン1系でのサンプルが載っているWebサイト・書籍がほとんどだからです。本書では、バージョン2で作っているため、Webの通りやっているのになぜか動かない、ということが避けられます。

 また、SpringセキュリティやJDBC、Mybatisなどを随時追加していく構成となっています。


【電子書籍だからこそ】
 本書は電子書籍での提供となっています。紙の方がパラパラめくれるので、目的のページをすぐ探しやすいという利点があります。その点に配慮して、本書では各ページへのリンクを多数、貼っています。そのため、目的のページをすぐ見つけることができます。

 また、他の書籍ではボリュームがあるため、紙媒体だと結構なお値段になります。本書は、他の書籍と同等のボリュームでありながら、お値段は安めになっています。電子書籍だからこそできるお値段です。

 ただし、コード可読性のため、タブレット端末での閲覧をおススメします。


【目次(概要)】
1章 Springの概要
2章 開発環境の構築
3章 Springを試してみよう
4章 DI(依存性の注入)とは
5章 Webアプリケーションの概要
6章 データバインド&バリデーション
7章 Spring AOP
8章 Spring JDBC
9章 例外ハンドリング
10章 Spring Security
11章 RESTサービス
12章 SpringTest
13章 Spring + MyBatis


 まずは、本書をお試しください。



Read more...

Tuesday, November 27, 2018

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

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

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

Monday, November 26, 2018

Effective Java review

Read more...

Java EE 8 Application Development: Develop Enterprise applications using the latest versions of CDI, JAX-RS, JSON-B, JPA, Security, and more review



Develop Enterprise Java applications compliant with the latest version of the Java EE specification

Key Features

  • This book covers all of the major Java EE 8 APIs and includes new additions such as enhanced Security, JSON-B Processing, and more
  • Learn additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS)
  • Develop applications by taking advantage of the latest versions of CDI, Security, Servlets, and JSF and other Java EE specifications

Book Description

Java EE is an Enterprise Java standard. Applications written to comply with the Java EE specification do not tie developers to a specific vendor; instead they can be deployed to any Java EE compliant application server. With this book, you'll get all the tools and techniques you need to build robust and scalable applications in Java EE 8. This book covers all the major Java EE 8 APIs including JSF 2.3, Enterprise JavaBeans (EJB) 3.2, Contexts and Dependency Injection (CDI) 2.0, the Java API for WebSockets, JAX-RS 2.1, Servlet 4.0, and more.

The book begins by introducing you to Java EE 8 application development and goes on to cover all the major Java EE 8 APIs. It goes beyond the basics to develop Java EE applications that can be deployed to any Java EE 8 compliant application server.

It also introduces advanced topics such as JSON-P and JSON-B, the Java APIs for JSON processing, and the Java API for JSON binding. These topics dive deep, explaining how the two APIs (the Model API and the Streaming API) are used to process JSON data.

Moving on, we cover additional Java EE APIs, such as the Java API for Websocket and the Java Message Service (JMS), which allows loosely coupled, asynchronous communication. Further on, you'll discover ways to secure Java EE applications by taking advantage of the new Java EE Security API.

Finally, you'll learn more about the RESTful web service development using the latest JAX-RS 2.1 specification. You'll also get to know techniques to develop cloud-ready microservices in Java EE.

What you will learn

  • Develop and deploy Java EE applications
  • Embrace the latest additions to the Contexts and Dependency Injection (CDI) specification to develop Java EE applications
  • Develop web-based applications by utilizing the latest version of JavaServer Faces, JSF 2.3.
  • Understand the steps needed to process JSON data with JSON-P and the new JSON-B Java EE API
  • Implement RESTful web services using the new JAX-RS 2.1 API, which also includes support for Server-Sent Events (SSE) and the new reactive client API

Who This Book Is For

If you are a Java developer who wants to become proficient with Java EE 8, this book is ideal for you. You are expected to have some experience with Java and to have developed and deployed applications in the past, but you don't need any previous knowledge of Java EE.

Table of Contents

  1. Introduction to Java EE
  2. JavaServer Faces
  3. Object Relational Mapping with JPA
  4. Enterprise JavaBeans
  5. Contexts and Dependency Injection
  6. JSON Processing with JSON-B and JSON-P
  7. Websockets
  8. The Java Message Service
  9. Securing Java EE Applications
  10. RESTful Web Services with JAX-RS
  11. MicroServices Development with Java EE
  12. SOAP web services with JAX-WS
  13. Servlet development and deployment
  14. Appendix




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

Learn Microservices with Spring Boot: A Practical Approach to RESTful Services using RabbitMQ, Eureka, Ribbon, Zuul and Cucumber review



Build a microservices architecture with Spring Boot, by evolving an application from a small monolith to an event-driven architecture composed of several services. This book follows an incremental approach to teach microservice structure, test-driven development, Eureka, Ribbon, Zuul, and end-to-end tests with Cucumber.

Author Moises Macero follows a very pragmatic approach to explain the benefits of using this type of software architecture, instead of keeping you distracted with theoretical concepts. He covers some of the state-of-the-art techniques in computer programming, from a practical point of view. You’ll focus on what's important, starting with the minimum viable product but keeping the flexibility to evolve it.

What You'll Learn
  • Build microservices with Spring Boot
  • Use event-driven architecture and messaging with RabbitMQ
  • Create RESTful services with Spring
  • Master service discovery with Eureka and load balancing with Ribbon
  • Route requests with Zuul as your API gateway
  • Write end-to-end rests for an event-driven architecture using Cucumber
  • Carry out continuous integration and deployment

Who This Book Is For

Those with at least some prior experience with Java programming. Some prior exposure to Spring Boot recommended but not required.






Read more...

Sunday, November 25, 2018

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

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

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

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

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

Saturday, November 24, 2018

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

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



Learn various design patterns and best practices in Spring 5 and use them to solve common design problems

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.

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