Category: ‘Java’

SpringOne2GX 2015 Recap

Sep 27 2015

Last week I was at SpringOne2GX ( in Washington, DC. Here are some takeaways on the various talks I attended along with my general impressions of the conference itself. There was a wide range of topics organized by various tracks which worked out pretty well. At my day job, we have a large Grails 2 […]

UberConf 2015 Recap

Aug 06 2015

One of the advantages of attending UberConf over No Fluff Just Stuff (NFJS) is the larger number of sessions and the ability to provide more in-depth coverage during sessions.  The sessions that I found most interesting from UberConf 2015 were the ones related to Java 8, Groovy, and Big Data. The all-day Functional Programming in […]

Simple Bayesian Network Inference Using Netica and JavaBayes

Jun 07 2012

If you have ever needed to work with Bayesian networks and conditional probabilities, you may have searched around for some libraries you can use. This article describes how to use two libraries with Java API support – Netica and JavaBayes – to set up a simple Bayesian network and calculate inferences. Netica is a commercial product with support for multiple […]

Vector Graphics Processing in Java

Aug 02 2011

Most common computer images are stored as arrays of pixel data or raster graphics. Formats such as PNG, and JPEG are classic examples of this. Vector Graphics are stored as operations that are instead “code” for drawing the image on the fly. In this article we will explore using a few different open source libraries to convertEMF, Postscript […]

Highlight text using Lucene

Mar 06 2011

The following code illustrates how to use the Lucene highlighter to highlight text in any String.

This code will wrap matching values with a bold tag. Example usage is as follows: java -cp LuceneHighlighter http://site/index “words”