We're pleased to announce the open source release of Google's internal Java dependency injection framework Guice. Guice wholly embraces annotations and generics, thereby enabling you to wire together and test objects with less effort than ever before.
I've written up some patterns for using
ThreadLocal. This is the first in what will hopefully turn into a series of articles on the core Java library and language.
Scopes are one of the first things we learn as Java developers. Public, private and even protected scopes are easy enough to grok, but package-private scope alludes many Java newbies. I remember confusion when I first read about package-private scope; "Why would I ever need that?" I learn by understanding, not memorization.
You won't find me loitering around Cam's booth this year. Google rented one of its own! I think the mass of Java work going on at Google would surprise a few developers. Did you know that Java powers Gmail, AdWords, and Blogger (to name a few)?
When I first heard rumors of a "headless iMac" a few weeks back, I got very excited. I already have a Mac hooked up to my home theater system, and I would prefer something more consistent with the other components. I doubt very seriously Apple would leave the monitor out just to save money. The thought of a beige 15" PC CRT hooked up to an Apple gives me the willies.
Yours truly is filling in on Mary's Friday Free Stuff Puzzler this week. As of this posting, no one has submitted a correct solution. Give it a shot:
Treat yourself this holiday season to a copy of Mike Clark's Pragmatic Project Automation. I love this book. Congratulations to the Pragmatic Programmers for this addition to the series and more importantly to the team. I'm already looking forward to future installments.
I must run IntelliJ IDEA on Linux, but OS X is my OS of choice. After trying various setups involving X Windows, VNC, x2vnc, and Synergy, I've settled on running IDEA from my Linux box under X11 for OS X. In other words, IDEA runs on the Linux box but displays in OS X.
Russell Miles continues his introduction to AOP in Spring with a Cuckoo's Egg Design Pattern example. The
CuckoosEgg interceptor routes method invocations to alternative implementations in his