I leave my MacBook Pro at the office these days, and keep it plugged in most of the time. However, some folks have asked about battery life, so I figured I'd test it out today. I unplugged it when I got in and waited for it to sleep. 2 hours and 23 minutes. This is on par with my old PowerBook, but it's quite different from what MacRumors says (3hr 17min). I have a keyboard, mouse and 20" cinema display hooked up to it, but the display has its own power, so I doubt that effects the results.
Paul Browne asks (and answers) "which Ajax enabled framework should you use as an Enterprise Java developer?":
Pre Ajax, the answer to 'which Java presentation framework should I use?' would have been Apache Struts. Not because it was technically better than any of the other frameworks (although feel free to leave your comment!) but because everybody else is using it. This meant
(a) using Struts is good for your client, as they can replace you if you get run over by a bus and
(b) using Struts is good for you, as you can take your Struts skills to your next piece of work.
Paul goes on to show you how he researched the Ajax-enabled Java frameworks that are currently available and gives a set of criteria he used. His conclusions?
- Use AjaxAnywhere if you need to add Ajax functionality to an existing Struts application.
- For new applications with Ajax, use AppFuse. While he recommends the Struts version, I recommend using the other flavors first (Spring MVC, WebWork, Tapestry or MyFaces).
- For the future (which I believe is what he means by medium-term), use a JSF implementation. AppFuse currently uses MyFaces, and it's likely we'll keep improving that (possibly with a Shale front-controller or some nifty things the Spring team has been adding).