Ralph's Blog

about this and that (RSS | Atom)

A closer look at the Background Sync API

Published: June 26, 2018  •  pwa, javascript, java, spring

This blog post takes a closer look at the Background Sync API, part of the Service Worker implementation and presents an example that uses Background Sync to synchronize data between an Ionic 4 web application and a Spring Boot server application.

Sending Web push messages from Spring Boot to Browsers

Published: January 09, 2018  •  Updated: July 18, 2018  •  java, javascript, pwa, spring

In this blog post I show you how you can send push messages from a Spring Boot application over Firebase Cloud Messaging (FCM) to connected clients with the Web Push API. The Push API is part of the Service Worker specification and does not depend on any native plugins.

Adding speech recognition to an Ionic App

Published: December 18, 2017  •  Updated: February 16, 2018  •  ionic3, javascript, java, spring

In this blog post I present three different way how to integrate a speech recognition functionality into an Ionic app. With a Cordova plugin, the Web Speech API and with RecordRTC and the Google Cloud Speech API.

Developing a self hosted location tracker

Published: November 07, 2017  •  Updated: February 16, 2018  •  ionic3, java, spring, javascript

In this blog post we create together a self hosted location tracker that consists of three parts. An Ionic/Cordova application that continuously sends the current location to a Spring Boot application from where the locations are broadcasted to a website and visualized with Google Maps.

Dynamically loading position data with Ionic and Spring Boot

Published: November 05, 2017  •  Updated: January 31, 2018  •  ionic3, java, spring, javascript

In this blog post we create an Ionic app that dynamically requests location data points from a Spring Boot server and displays them on a OpenStreetMap map. The data points are stored in a MongoDB database and we take advantage of the geospatial query support to read the data points only for a certain area.

Upload files from Ionic to Spring Boot with Flow.js

Published: September 26, 2017  •  java, ionic3, javascript, spring

A closer look at the Flow.js JavaScript library that helps uploading files from a browser to the server. Flow.js is a JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.

Spring Boot and Ionic application development with OpenAPI

Published: September 21, 2017  •  Updated: February 17, 2018  •  spring, java, javascript, ionic3

In this blog we create REST services in Spring Boot and consume them in an Ionic app. We use the OpenAPI specification for generating an API documentation and the client TypeScript code.

Server-Sent Events with Spring

Published: March 05, 2017  •  Updated: February 16, 2018  •  java, spring

What are Server-Sent Events and how can you send them from a Spring Boot application

Send messages from Spring Boot to Ionic over FCM

Published: February 26, 2017  •  Updated: June 11, 2018  •  ionic3, spring, javascript, java

This post describes how a Spring Boot can send messages over FCM to an Ionic 3 app

Uploading files from Ionic 3 / Cordova to Minio / S3

Published: February 16, 2017  •  Updated: February 16, 2018  •  ionic3, cordova, spring, s3, javascript, java

How to upload files from an Ionic 3 / Cordova app directly to a Minio server or Amazon S3 with pre-signed URLs.

Uploading pictures from Ionic 3 to Spring Boot

Published: February 12, 2017  •  Updated: November 16, 2017  •  ionic3, cordova, spring, javascript, java

In this article we create an Ionic 3 application where the user can select a picture from the cordova camera plugin and the app uploads it to a Spring Boot server application.

JWT Authentication with Ionic 3 and Spring Boot

Published: February 05, 2017  •  ionic3, spring, java, javascript

How to implement a JWT authentication between an Ionic 3 app and a Spring Boot back end.

Form validation with Angular and Spring Boot

Published: January 26, 2017  •  Updated: November 16, 2017  •  angular, ionic3, spring, java, javascript

Example of form validation in an Ionic application. How to create custom synchronous and asynchronous validators and how to validate data on the server with the Java Bean Validation framework.

Produce RSS and Atom feeds with Springframework

Published: January 24, 2017  •  Updated: February 16, 2018  •  spring, java

How to create RSS and Atom feeds with the Spring Framework and the ROME library

Consume Protocol Buffer messages with Ionic 3

Published: January 14, 2017  •  Updated: December 23, 2017  •  ionic3, spring, java, javascript

Protocol Buffers with Spring Integration

Published: January 08, 2017  •  Updated: December 23, 2017  •  java, spring