Category Archives : Common

Home  >>  Common

Efficient Creation of Eclipse Modules with Maven Archetype

On November 5, 2014, Posted by , In Common,Eclipse, By ,, , With No Comments

Maven Archetype is a project templating toolkit that provides developers with the means to generate parameterized versions of built-in or custom scaffolding artefacts. Recently I applied it to our Xiliary P2 repository to achieve automation of Eclipse module stubs creation. As it worked out well enough, I thought it might…

Codeship: Continuous Integration for GitHub and Bitbucket

On October 6, 2014, Posted by , In Common, By ,, , With 2 Comments

Just recently I got the opportunity to use yet another continuous integration service: Codeship Continuous Integration. The hosted service builds GitHub and Bitbucket projects and offers various options for deployment. This post will give a brief overview how to build and deploy with Codeship. Simple Setup Setting up Codeship to…

Travis: Continuous Integration for GitHub Projects

On September 1, 2014, Posted by , In Common, By ,, , With No Comments

In a recent project I got the opportunity to work with Travis, a lean, hosted continuous integration service used to build GitHub projects that is free to use for public repositiories. This post gives a brief introduction on how to build projects with Travis. Simple Setup Setting up Travis to…

Java Code Style: The Final Decision

On April 28, 2014, Posted by , In Common, By ,,,, , With 6 Comments

Isn’t it funny how the alleged most unremarkable things can lead to controversial discussions or sometimes even heated debates with hardend fronts? I witnessed on several occassions for example, how the usage of the keyword final triggered quite passionate arguments. And for an outside observer this might have looked as…

Clean Synchronization Using ReentrantLock and Lambdas

Recently I was reading an informative post about the differences between synchronized vs ReentrantLock by Javin Paul1. He emphasises on the advantages of the latter, but does not withhold some downsides, which are related to the cumbersome try-finally block needed for proper usage. While agreeing on his statements I brooded…

WordPress Webhooked into GitHub

On December 3, 2012, Posted by , In Common, By ,,,,,,, , With No Comments

Code Affine is published using WordPress. Besides content provisioning there are technical tasks like site composition and software maintenance we have to take care of. Hence we were looking for a pragmatic but efficient way that allows us to develop locally, do versioning of changes, publish such changes automatically and…

Performance Analysis of REST/HTTP Services with JMeter and Yourkit

On February 10, 2012, Posted by , In Common, By ,,,,,, , With 11 Comments

My last post described how to accomplish stress- or load-testing of asynchronous REST/HTTP services with JMeter. However, running such tests often reveals that the system under test does not deal well with increasing load. The question is now how to find the bottleneck? Having an in-depth look at the code…

Stress/Load-Testing of Asynchronous HTTP/REST Services with JMeter

On November 28, 2011, Posted by , In Common, By ,,,,, , With 27 Comments

Although I have been using JMeter for stress- and load-testing of web applications a good few times it took us a while to figure out how to test asynchronous HTTP/REST based services with the tool. With us I mean a fellow programmer – Holger Staudacher, I have the honor to…

Added Event Page to CodeAffine Website

On October 16, 2011, Posted by , In Common, With No Comments

Just a short note that I have introduced a new page in our codeaffine wordpress system to have the possibility to advert upcomming events where we participate and contribute.

Replacing Hard Coded Processes Using Activiti

On March 15, 2011, Posted by , In Common, With No Comments

A few weeks ago I was put in charge to replace a piece of code in a software product. The code in question was the implementation of several business processes. The hard wired nature of those processes made it difficult for consulting people to customize the software to customer’s requirements….