In this post I’ll examine how to implement a simple WebSocket-based notification system built on top of Spring. We’ll use the Stomp protocol over SockJS to communicate with either a JQuery-based client or an Angular application.
You always end up coming to it. It’s inevitable. It cannot be helped. Yep, it’s time to write a custom validator for your shiny new Angular application. So how do you do that in Angular 4? And more importantly: how do you test it?