I've been subscribed to UGU's Unix Tip of Day for years. It is a great
way not only to keep these sorts of things in the community's
conscience, but also to fill in the gaps of knowledge for new folks,
thus building the community.
http://www.ugu.com/sui/ugu/show?tip.today
I guess the next step is to the build the Spring Tip of the Day on
Spring and release it unto the world! :) I'd sign up if it was available!
later.
Bill
Rod Johnson wrote:
> On the subject of cool things Spring does it's easy to forget, look at this:
>
> StopWatch sw = new StopWatch();
> sw.start(count + " registrations");
> // do stuff
> sw.stop();
>
> sw.start("something else");
> // do different stuff
> sw.stop();
>
> System.out.println(sw.prettyPrint());
>
> The StopWatch class has been in Spring forever, but I guess I never
> documented it. I just noticed somebody doing their own
> System.currentTimeMillis() calculations at work.
>
> Rod
>
>
|