Posted by admin on August 18, 2009
Intent I want to summarize some new and interesting Java 5 features in this article and how they change the way I code. Enum I use int constants to make my life easier b/c it can avoid typo. However, it has several drawbacks: Java doesn’t provide namespace for int enum groups. I can either prefix [...]
Posted by admin on November 29, 2008
Get yourself familiar with concurrency programming When I interview my candidates, I like to ask questions related to multi-threading. I found out that it is a good topic to differentiate out a hardcore programmer from application-oriented programmer. I am not saying I am looking for someone who could write the concurrency library as efficient as [...]
Posted by admin on May 29, 2008
Most companies I have worked for use Tomcat as Servlet Container. It is de facto standard just like how Apache been used as Web Server. However, most of us just drag our war file to the webapp folder and use Tomcat with all the settings as default out of the box. It works fine in [...]
Posted by admin on September 21, 2007
Scripting languages dominates Web 2.0 We are seeing signs of age and dissatisfaction of Java recently. PHP and Ruby becomes popular choice for Web 2.0 development. ".NET" has increasing number of usage comparing to J2EE. So, the common question that pops up to everyone’s mind is "Will Java Die?". Yes, every language has its lifespan [...]