The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


View by: Most Recent | Topic | Community | Webloggers | James Gosling   
Monthly Archives:    

Blogs by topic Programming and user schaefa

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • Grid • GUI 
• IDE • Instant Messaging • J2EE • J2ME • J2SE 
• JavaOne • Jini • JSP • JSR • JXTA 
• LDAP • Linux • Mobility • NetBeans • Open Source 
• OpenSolaris • P2P • Patterns • Performance • Porting 
• Programming • Research • Security • Servlets • Struts 
• Swing • Testing • Tools • Virtual Machine • Web Applications 
• Web Design • Web Development Tools • Web Services and XML 


Programming

The decision by the Ant development team to put the junit task archive (ant-junit.jar) into Ant's lib directory without the junit archive is maybe convenient but caused me to waste some time to figure out why the same Ant script works on my box but not on my coworker's box. Both solutions outline on Ant's FAQ have their drawbacks and I think that this is another example where convenience is a good source to waste them on the long haul.
on Nov 9, 2005 | Permalink | Discuss
I am always surprised when someone tells me that he/she does not know how to implement conditional compilation in Java. Here I want to describe a way to implement it. I did not invent this but took the idea from JBoss but I refined it here to accomplish some additional feature like still have regular Java code.
on Jan 20, 2005 | Permalink | Discuss
As with every tool the debugger is only useful when used appropriately. Based on my experience many developers tend to overuse it and forget that for some problems it does not help at all like with race conditions, class loading etc. A debugger is like a telescope narrowing down my view so that navigating becomes difficult and developers lose their view on the big picture and therefore waste a lot of time locating the problem and then fixing the symptom instead of the cause. But there are other tools available that can be as or even more efficient as a debugger.
on Dec 2, 2003 | Permalink | Discuss