Real-Time Communication: Implementing Websockets With Spring Boot

Thomas Kendall Java, JavaScript, Technology Snapshot Leave a Comment

When developing web applications, we sometimes need to push server events down to connected clients. However, HTTP was not designed to allow this. To get around this limitation, a polling pattern was established where web pages would intermittently poll the server for any new events. This pattern was not ideal as it added HTTP overhead, was only as fast as the polling rate, and caused unnecessary load on the server.

Luckily, with the emergence of HTML5 came the WebSocket. The WebSocket protocol enables interaction between a browser and a web server with lower overheads. In this blog we’ll introduce the Websockets API and show how to implement Websockets with Spring Boot.



Cobol to Java

Adventures In Modernization: Strategy + Example Converting COBOL To Java

Dallas Monson Consulting, Java, Keyhole Creations, Programming, Technology Snapshot, Tutorial Leave a Comment

We have consultants who specialize in moving old to new, renovating dilapidated code bases, and designing brighter futures for enterprises who have been vendor-locked for most of their existence. We have come across some repeated patterns and strategies for how to approach modernization of legacy systems. In this blog, we will cover a strategy that is very popular right now, Re-Platforming.

The basic flow of this post will be:

Introduction to Modernization
High-level definition of the Re-Platforming Strategy for Modernization
Sample of Re-Platforming using Keyhole Syntax Tree Transformer, COBOL –> Java
Additional thoughts on the value/risk of this strategy

Let’s get started…



Spring Boot – The Right Boot For You!

Matt McCandless Java, Spring, Technology Snapshot, Tutorial Leave a Comment

Need a little spring in your step? Tired of all those heavy web servers and deploying WAR files? Well you’re in luck.

Spring Boot takes an opinionated view of building production-ready Spring applications. Spring Boot favors convention over configuration and is designed to get you up and running as quickly as possible.

The aim of this blog is just to get you familiar with how to get Spring Boot going on your machine. It is going to be fairly straightforward and vanilla. The goal is to get you started…



Keyhole Labs Releases Spring Boot Starter For Trouble Maker

Lauren Fournier Company News, Java, Spring, Trouble Maker Leave a Comment

The Keyhole Labs team is excited to announce the release of a Spring Boot starter for auto-configuration of Trouble Maker.

This new auto-configuration allows Spring Boot applications to easily enable Trouble Maker. Trouble Maker randomly takes down services during normal business hours in an effort to test stability and automated recovery. It also provides an ad hoc console to test application durability on demand.

See more on the Keyhole Labs blog.