Tips and Tricks

  • submit to reddit

Lightweight Web Application Framework: PrimeFaces (JSF) + Guice + MyBatis (PART 2)

In this part, I will continue to demonstrate the integration of JSF, Guice and MyBatis. DBCP connection pool and MYSQL database is used in persistence...

2 replies - 1924 views - 01/04/13 by Boris Lam in Articles

Play2 Deploy and Config on Cloudbees

I did some work recently to update a few web apps from play 1.2.3 to play 2. Some of them are running on heroku and others are on cloudbees. One of the...

0 replies - 1658 views - 01/03/13 by Andrew Salvadore in Articles

The Apache Apollo REST API (the New ActiveMQ)

Apache Apollo is a next-generation, high-performance, multi-protocol messaging broker built from the ground up to one day be a drop-in replacement of...

0 replies - 3063 views - 01/03/13 by Christian Posta in Articles

Focus in Chaos: Why I Like Kanban for Startups

It’s okay if you don’t know exactly where you’re going  – because things are always changing – just so long as you’re focused on the Right...

0 replies - 3282 views - 01/03/13 by Abby Fichtner in Articles

JAXB - Representing Null and Empty Collections

In this post I will cover how to differentiate between null and empty collections in the XML representation with JAXB (JSR-222). Demo Code  The...

0 replies - 3254 views - 01/03/13 by Blaise Doughan in Articles

The Tracer Bullet Approach: An Example

A few weeks ago my former colleague Kief Morris wrote a blog post describing the tracer bullet approach he’s used to setup a continuous...

0 replies - 1962 views - 01/03/13 by Mark Needham in Articles

Sed: Replacing Characters with a New Line

I’ve been playing around with writing some algorithms in both Ruby and Haskell and the latter wasn’t giving the correct result so I wanted to output an...

0 replies - 1790 views - 01/03/13 by Mark Needham in Articles

PWM and Shell for a LED

Controlling a LED is a great starter for any embedded project: simple and you immediately get feedback if it works  . Even better: as driving a LED...

0 replies - 1631 views - 01/03/13 by Erich Styger in Articles

Sendmail Using Nullmailer and a Gmail Account on a Linux Server

When you run VPS servers or other “low end” boxes it is common scenario need to setup a outgoing email mail transfer agent to get reports from cron jobs or...

0 replies - 3136 views - 01/02/13 by Mikko Ohtamaa in Articles

Implementing Producer / Consumer using SynchronousQueue

Among plenty of useful classes which Java provides for concurrency support, there is one I would like to talk about: SynchronousQueue. In particular, I would...

0 replies - 3955 views - 01/02/13 by Andriy Redko in Articles

List of Agile Developer Terminology for New Programmers

This is a post for new developers or for a little retraining on information technology. Recently, I had a discussion with many engineers at one of those...

0 replies - 8681 views - 01/02/13 by Peter Pilgrim in Articles

Finding 2013 in Pi

My youngest daughter asked me this morning whether you can find the number 2013 in the digits of pi. I said it must be possible, then wrote the following...

0 replies - 3876 views - 01/02/13 by John Cook in Articles

Big Data Predictions for 2013

If you just invested a lot of money in a Big Data solution from any of the traditional BI vendors (Teradata, IBM, Oracle, SAS, EMC, HP, etc.) then you are...

1 replies - 11458 views - 01/02/13 by Maarten Ectors in Articles

Deleting Code Is Hard And You Should Do It

Being a clean coder is all about knowing which code to leave out.  You also need to know what code to delete when it becomes obsolete, or if it was never...

0 replies - 6493 views - 01/02/13 by Mitch Pronschinske in Articles

JAXB's @XmlAnyElement(lax=true) Explained

In a previous post I introduced how the @XmlAnyElement(lax=true) annotation could be used to create a very flexible mapping.  In this post I'll...

0 replies - 3217 views - 01/02/13 by Blaise Doughan in Articles