In the previous post, we had learned how to create a Spring Data Rest application, and use Postman to navigate arround restAPIs. Are there any tools good for interacting with Spring Data Rest application? -> Yes, Hal Browser is an useful tool for development by using it to follow the restfulAPIs, modify and create a new resource. So in the tutorial, JavaSampleApproach shows how to use Hal Browser with Spring Data Rest.
– How to access MySQL database with Spring Data Rest application
– Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser
[Continue reading…] “How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL”
Firebase is a mobile and web application development platform developed by Google. We can build our apps very fast, without making complex back-end system. It helps to scale automatically, for even the largest apps. In this tutorial, we’re gonna go through the steps to integrate Firebase into Android App with Android Studio Enviroment.
[Continue reading…] “How to integrate Firebase into Android App – Android Studio”
In this tutorial, JavaSampleApproach introduce ways to handle Errors: catch Exception and fall back, recover from errors, deal with backpressure errors…
[Continue reading…] “Reactor – Handle Error”
In this tutorial, JavaSampleApproach introduce ways to combine two or more Reactor Publishers (Flux/Mono).
[Continue reading…] “Reactor – How to Combine Publishers (Flux/Mono)”
The WebSocket protocol provides new capability for web applications: full-duplex, two-way communication. So in the system where the client and server need to exchange data at high frequency and with low latency, WebSocket is the best solution. That is the reason for us to create a Spring WebSocket Application with JavaSampleApproach.
[Continue reading…] “WebSocket – Create Spring WebSocket Application with SpringBoot + SockJS + STOMP”
In this tutorial, JavaSampleApproach introduce simple ways to create Publisher (Flux) that emits items every specified Interval of time.
[Continue reading…] “Reactor – How to Create Flux (Publisher) with Interval”
Reactive Streams is an API and pattern that provides a standard for asynchronous stream processing with non-blocking back pressure. It is also being introduced in Java 9 Flow API with four simple interfaces:
But Reactive Streams API is just low level to make practical use in reactive applications. So Reactor Core provides two main implementations of Publisher: Flux and Mono. In this tutorial, we’re gonna know what they are and simple ways to create them.
[Continue reading…] “Reactor – Simple Ways to create Flux/Mono”
Json Infinite Recursion is one of the most common problems when we serialize Java objects which having Bidirectional-Relationships. So in the tutorial JavaSampleApproach will guide you how to smoothly handle the problems with Jackson annotations:
– Jackson to convert Java Object to/from Json String
– Integrate Spring RestAPIs with @JsonView
– How to use @JsonView to serialize/de-serialize and customize JSON format from Java Object
[Continue reading…] “How to resolve Json Infinite Recursion problem when working with Jackson”
In the previous post, We had learned how to use
@JsonView to serialize/de-serialize Java objects. Now we go to next step, JavaSampleApproach shows you how to integrate Spring RestAPIs with
@JsonView to customize views and resolve infinity loop problem.
– How to use @JsonView to serialize/de-serialize and customize JSON format from Java Object.
– How to resolve Json Infinite Recursion problems when working with Jackson
[Continue reading…] “Integrate Spring RestAPIs with @JsonView”