I\'ve seen reference in some C# posted questions to a \"using\" clause. Does java have the equivalent?
I think you can achieve something similar to the "using" block, implementing an anonymous inner class. Like Spring does with the "Dao Templates".