Jeah we’ve won the Atlassian Codegeist 2012 Competition – or – The return of...
Happy news for us, Theresa and I we’ve won the Atlassian Codegeist Competition 2012 with our Stash Readme Parser Plugin in the category: Best Stash Plugin. We had two other plugins in the game, the...
View ArticleNew Plugin released: Quick Subtasks for Jira
Recently after a long sprint planning meeting I had the pleasure to spend some time writing down the results of the team’s task breakdown in Jira. In our process, each user story is documented as a...
View ArticleLucene Snippets: Faceting Search
The latest snippet from my Lucene examples demonstrates how to achieve a facet search using the Lucene 4.0 API and how easy it is to define multiple category paths to aggregate search results for...
View ArticleLucene Snippets: Index Stats
In Lucene 4.x there is an API to fetch index statistics for specific document’s fields. The following examples shows how to create an index with some random documents and fetch some statistics for a...
View ArticleHTML5 Server Send Events using Node.js or Jetty
The HTML5 working draft describes different techniques to push information from a server to the client and the one described in this tutorial are Server-Send Events (SSE). Using Server-Send-Events...
View ArticleMake your Tests more readable with custom Hamcrest Matchers
Everyday we’re writing tests for our software and sometimes we’re in a situation where we’re testing a specific type or object very often. Luckily Hamcrest allows us to create custom matchers by...
View ArticleCreating an offline Rich-Client-Application using HTML, CSS and Java with SWT
There are a lot of frameworks out there to create offline applications and rich clients in Java. One exotic alternative is to use the HTML, CSS and Javascript for this purpose and render the...
View ArticleNew features in JUnit 4.11
JUnit is one of the most popular testing frameworks out there. Version 4.11 has just been released and offers some nice improvements that you shouldn’t miss. Dependencies In older versions of JUnit...
View ArticleContent Detection, Metadata and Content Extraction with Apache Tika
Encountering the situation that you want to extract meta-data or content from a file – might it be an office document, a spreadsheet or even a mp3 or an image – or you’d like to detect the content type...
View ArticleRunning categorized Tests using JUnit, Maven and Annotated-Test Suites
Sometimes we need to classify the tests in a project and a possible solution to achieve this goal is to assign different categories to the tests. Often we’re doing this to separate the execution of...
View ArticleCreating Pre-Commit-Hooks in Git and Mercurial: Prefix Commit Messages for...
Managing my projects’ source code I am using Git also as Mercurial. Therefore I often encounter the situation where I am creating a special branch to implement a specific user story or feature request....
View ArticleSnippet: XML-Pull-Parser with XPP3
When there is XML to be parsed sometimes we’re chosing a DOM parser, sometimes a SAX parser and sometimes we’re using an XML pull parser, especially on Android. The following short snippet shows how to...
View ArticleA short Introduction to ScalaTest
ScalaTest is an excellent framework to write concise, readable tests for your Scala or Java code with less effort. In addition it integrates well with a variety of frameworks like JUnit, TestNG, Ant,...
View ArticleUsing the Android Daydream API
Daydream is the new interactive screensaver mode that was added in the Android 4.2 / Jelly Beans release. Such “dreams” may be activated when the device is in idle mode or inserted into a dock. In the...
View ArticleUsing Apache Avro with Java and Maven
Apache Avro is a serialization framework similar to Google’s Protocol Buffers or Apache Thrift and offering features like rich data structures, a compact binary format, simple integration with dynamic...
View ArticleJava Persistence API: Controlling the Second-Level-Cache
Using the Java Persistence API and a decent persistence provider allows us to configure and fine-tune when and how the second level cache is used in our application. In the following short examples,...
View ArticleRunning JavaScript Tests with Maven, Jasmine and PhantomJS
Sometimes in a project there is the need to run tests for your client-side code, written in JavaScript from a Maven build. One reason might be that Maven manages a complex build life-cycle in your...
View ArticleAllocating available random Ports in a Maven Build
Recently in a project I encountered the following problem: The development team used Git with a branch-per-feature-like workflow and the integration server, Bamboo in this case, was configured not only...
View ArticleUsing Java Config-Builder to assemble your Application Configuration
There’s a variety of configuration frameworks to use in our Java applications. Java Config Builder is one of them and it offers some nice features that I would like to demonstrate in the following...
View ArticleJava EE: Logging User Interaction the Aspect-Oriented Way using Interceptors
Using dependency injection and aspect-oriented mechanisms like interceptors allow us to separate cross-cutting-concerns in our Java enterprise application, to control global aspects of our application...
View Article
More Pages to Explore .....