Tips and Tricks

  • submit to reddit

Groovy Goodness: Calculating Directory Size

Groovy 2.1 adds the method directorySize() to File objects. If the File object is a directory then the total size of all files is calculated. Notice this...

1 replies - 3386 views - 01/31/13 by Hubert Klein Ikkink in Articles

RHQ CLI Over XMPP

RHQ CLI over XMPP from Lukas Krejci on Vimeo. Based on the great demo by Rafael Chies (vimeo.com/35730049) I created a modified version of...

0 replies - 769 views - 01/30/13 by Mitch Pronschinske in Articles

DRY Parameter Names

How often do you see code like this, especially when using dependency injection, single-responsibility principle, and other “good practices”?class...

0 replies - 1958 views - 01/30/13 by Adam Warski in Articles

The Days of Shell and Rational Roses

This post  reminded me of why UNIX and combining simple single function programs together made UNIX (and Linux) so amazing. My first college CGI and my...

2 replies - 2293 views - 01/29/13 by Tim Spann in Articles

JavaFX 2 XYCharts and Java 7 Features

One of my favorite features of JavaFX 2 is the standard charts it provides in its javafx.scene.chart package. This package provides several different types of...

0 replies - 1698 views - 01/29/13 by Dustin Marx in Articles

Custom Error pages for Expired Conversations Involving CDI and JSF

t's been a while since I last blogged. I keep thinking of blogging something technical but end up getting busy with other things. This last week there was...

2 replies - 1930 views - 01/29/13 by Jaikiran Pai in Articles

JDBC Realm and Form Based Authentication with GlassFish 3.1.2.2 and Primefaces 3.4

One of the most popular posts on my blog is the short tutorial about the JDBC Security Realm and form based Authentication on GlassFish with Primefaces. ...

0 replies - 4160 views - 01/29/13 by Markus Eisele in Articles

Lean distribution of ActiveMQ

I saw a question on the mailing list asking for a simple, stripped-down, version of ActiveMQ. The default distribution and all of its runtime dependencies come...

0 replies - 1595 views - 01/29/13 by Christian Posta in Articles

ActiveMQ: Master/Slave Broker Configuration

This is a followup to my previous post on configuring multiple instances of the ActiveMQ web console into a single instance of Jetty.  In this post I'll...

0 replies - 1569 views - 01/29/13 by Jason Sherman in Articles

Executing Variables that Contain Shell Operators

I touched a little on pipes in a previous post. Here’s a quick example of an echo utility which outputs two lines, and a pipe operator...

0 replies - 391 views - 01/29/13 by Alex Holmes in Articles

Mule ESB and the NoSuchMethodError: org.mule.util.ClassUtils.getClass exception

Currently I am adding some SAML related functionality to a Mule3 implementation of one of our clients. To work with the SAML objects I make use of the OpenSAML...

0 replies - 776 views - 01/29/13 by Pascal Alma in Articles

Using JAXB to Generate Java Objects from XML Document

Quite sometime back I had written about Using JAXB to generate XML from the Java, XSD. And now I am writing how to do the reverse of it i.e generating Java...

0 replies - 4452 views - 01/29/13 by Mohamed Sanaulla in Articles

Re-Pair Programming

When asked:”What’s the best thing I can do right now to improve my code quality” I always answer: code reviews. A code review is the best bug preventer...

0 replies - 4453 views - 01/28/13 by Gil Zilberfeld in Articles

Apache Isis Codebase Refactored, Adopting Semantic Versioning

Following on from Isis’ recent graduation as an Apache top-level project, I also blogged about how we have a new CMS-based site and also how we’ve moved...

0 replies - 1846 views - 01/28/13 by Dan Haywood in Articles

How we do Sprint Retrospectives

Sprint retrospectives are a key part of Scrum, which goes back to the lean roots of scrum with the focus on continous improvements. When I wrote this series on...

0 replies - 2221 views - 01/28/13 by Anders Abel in Articles