Some Java EE 6 utils.