Category Archives: Programming

Convert text label files to UTF-8 encoding

In a lot of multi-language enterprise applications where you have to support labels in different languages the text files with the different labels for each language are scattered across your source code. In my case I all the labels are kept in Java property files with “.properties” file extension. Then for each language I have… Read More »

Advertisements

Allow the use of a transacted session in a #Servlet with #JMS broker #Artemis

The open-source application server WildFly from which the RedHat owned JBoss application server is derived is one of the most used Java application server lately. This is caused by the strong market consolidation that is happening that caused the Java application server environment to become very restricted. Basically the only open-source enterprise grade Java application… Read More »

Short thoughts on Code #Refactoring

You know when your code turns into spaghetti and you start wondering what you were eating or smoking when you wrote that code. Usually nobody is such a bad programmer that writes spaghetti code, spaghetti code is something that builds in time when features are added at big pace or when you implement fixes or… Read More »

Learning GO: Limit #concurrency in #golang

Concurrency is easy to implement and fun in go, but as we know all things that are easy and fun can end up doing a lot of dammage if we are not careful. The way the concurrency was implemented in my previous post is prone to abuse. What if the for loop iterates over a… Read More »

Learning GO: Concurrently execute expensive validations on several items and return the list of validation errors with #golang

Most of the time software for real use cases from financial industry is just validating inputs. When I say validating inputs I refer to business validation that actually checks against standard formats or generates complex validation against business rule sets. Usually this step is very important because it is the step that gets hammered with… Read More »

Setup #Eclipse as #go IDE in Linux

I like Eclipse and I used it for many years on Linux for Java developement. I wanted to test how go(golang) works but I did not like all the suggested IDEs, you know the “cool” ones. I wanted to be able to use Eclipse. By default eclipse is not go oriented but with some small… Read More »

Debug tools for enterprise environments

There are various tools that I use to spot issues and investigate an enterprise environment. One of my favourite tools is IBM Performance Analysis Suite. Capabilities described by IBM: Import all kinds of performance data for analysis. Some examples: DB2 snapshot, Java verbose GC output, Java thread dumps. Import software/middle-ware configuration for compliance checking. Some… Read More »