Displaying progress of Spring application startup in web browser

spring-interview-questions-answers

When you restart your enterprise application, what do your clients see when they open the web browser? They see nothing, server doesn’t respond yet so web browser displays ERR_CONNECTION_REFUSED Web proxy (if any) in front of your application notices that it’s down and display “friendly” error message The website takes forever to load – it accepted socket connection and HTTP ...

Read More »

JBoss BPM Microservices Integration Guide Based on JBoss Fuse 6.2

Early this year we announced the exciting example project for JBoss BPM Suite that centers around a working online Travel Agency project. This initially leveraged web services, that we later migrated to microservices with the help of JBoss Fuse. With the release of JBoss Fuse 6.2, we wanted to revisit the project and make sure you had the latest greatest ...

Read More »

Use of optional is optional

After the article of last week “Optional in collections” today I can’t help but talking a bit more about the same beast. A bit more detail. The class Optionial originally introduced by Google Guava and later included in the Java 8 package is simply a wrapper that wraps an optional object. The wrapped object is optional in the sense that ...

Read More »

Walkmod: automatically refactor code to apply code conventions

I am very interested in tools which support the software development process, making automatic the boring bits. One system which permits to go in that direction is Walkmod: a smart tool which can refactor Java projects and enforce code conventions. It is a quite powerful tool and it should ges more and more attention. TL; DR: Tools like Sonar find issues in ...

Read More »

Refactoring with Kleisli Composition

For quite awhile we have been maintaining an application that processes XML and JSON data. Usually the maintenance consists of fixing defects and adding minor features, but sometimes it requires refactoring old code. Consider, for example, a function that extracts an XML node by path: import scala.xml.{Node => XmlNode} def getByPath(path: List[String], root: XmlNode): Option[XmlNode] = path match { case ...

Read More »

How to use geolocation with Redis 3.2

Recently I was looking for a solution how to tell if couple of Longitudes, Latitudes actually in the same Radius. So in the beginning I was thinking using Elasticsearch to store all my geo-locations and use their mechanism in order to search whether a point is within the requested Radius of other points. Elastic-search is great product but I wasn’t sure if I wanted ...

Read More »

Java Mobile Development Webinar 2: The Sequel

On Thursday morning we rolled the cameras for chapter 2 of our exciting new webinar series. This time around there were far fewer (though not zero) technical issues, and we were able to share a productive hour of mobile app development in the company of our fellow coders. Last time, we built a social media app similar to Facebook. It ...

Read More »

Stackifier: Make Sense of Your Stack Trace

How to make sense of your stack trace and solve errors faster  Developer experience, as in User Experience where the user is a developer, is often neglected. Many of the workflows and experiences around crafting code, debugging, testing, monitoring and the whole deployment process are really rough around the edges to say the least. This mainly comes from the need ...

Read More »