|
|
||
Editor's Daily BlogWhen the World is Running DownPosted by invalidname on June 28, 2007 at 04:14 AM | Comments (1)Finding and fixing bugs in heavily concurrent code A strong understanding of concurrency and threading is one of the traits that distinguishes the best Java developers, in every permutation of the platform. Servers by their very nature are heavily multi-threaded, good desktop developers know to thread off expensive work and unblock AWT-Event-Dispatch, and ME developers often have to carefully manage threads and other resources in order to coexist with other apps in the same small VM. The concurrency utilities introduced in Java 5.0 offer various ways to achieve high efficiency with threads. For example, the It also provides some means of thoroughly messing up your application. What if you forget to unlock? Or what if you have a read lock and you try to perform a write operation? These mistakes can create subtle, hard-to-fix bugs. Fortunately, there's help in today's Feature Article, Ran Kornfeld's Extending the ReentrantReadWriteLock
In Java Today, the Filthy Rich Clients project hosts sample code for the upcoming book of the same name by Chet Haase and Romain Guy. On his blog, Romain recently announced the availability of demos for chapters 5 (Performance) and 6 (Composites). Ultimately, the project will host the complete collection of demos and examples found in the book The 360Mobile.us blog has published an interview with Mobile & Embedded Community Leader Roger Brinkley. "Roger and I had a chance to visit recently and talk more about his involvement in leading the community. Read on to learn a little more about what goes on behind the scenes in this thriving community..." In an opinion piece on JavaLobby, Clemens Eisserer asks Why Doesn't Google Bet On Java? "Google is well-known for doing almost everything possible using Javascript and to have a lot of knowledge in this area. Sometimes this works very well (like for GMail) and sometimes not (like for docs & spreadsheets). [...] But why? Its like building a school-bus with a motorcycle engine just because these engines are there. " Today's Weblogs section starts with some Quick feedback from Jazoon by Fabrizio Giudici. "I still need some time to get to a comprehensive evaluation about Jazoon, so I will talk about the conference in general after the event is over. Nevertheless today I can say what has been the most interesting talk I've attended." In SCA & JBI: Made for each other. (SOA Gone Wild), Brian O'Neill writes, "after some exploration, it appears as though JBI is ideally positioned to serve as a run-time for SCA contributions. Here are three ways that SCA and JBI complement each other." Finally, a warning from James Stauffer: Don't return in a finally clause: "Some things that look ok at first can cause major problems. One of them is returning in a finally clause."
In today's Forums,
Finally, Joshua Marinacci has a tip for achieving a Mac OS X effect in Re: how to make a hidden java application in Mac. "This is a Mac specific thing. If you bundle your application as a Mac only application (using an .app bundle) then you can set a special flag in the Info.plist. See this tip. This will work with any Mac application, not just Java ones." Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive. Bookmark blog post: CommentsComments are listed in date ascending order (oldest first) | Post Comment | ||
|
|