Home » Archive

Articles Archive for April 2004

Uncategorized »

[22 Apr 2004 | One Comment | ]

If two people split the cost of buying a CD, do they both have the right to listen to it? Do they both have the right to make a back-up copy of the CD for their own purposes? Do they both have the right to download the songs onto their computers and MP3 players to listen to? What if three people split the cost of a CD? What about four.. or five.. or two-thousand people?
Wouldn’t it be legal to create a cooperative where each person pays …

Uncategorized »

[19 Apr 2004 | Comments Off on Clustering WebSphere Servers | ]

My new article is now available here on the JavaPro Website. I believe that the article should be published in the printed version of JavaPro in the next month or so.
Here is an excerpt:
“Two major problems that can occur when running applications on an application server are performance degradation (because of high load) and downtime (because of hardware or software failure). Both problems can be remedied by using the clustering features provided by WebSphere Application Server (WAS) 5.X. Clustering provides scalability through load balancing and high availability through failover, …

Uncategorized »

[16 Apr 2004 | Comments Off on Putting RuntimeExceptions in the Throws Clause | ]

Many people (including myself) advocate using only RuntimeExceptions (unchecked exceptions) in Java. Many people tend to dislike checked exceptions because they can cause problems with coupling, they clutter code with try-catch blocks, and they are often wrapped and forgotten (when a developer doesn’t do anything with the exception besides catching it).
I’ve been involved in many debates discussing the pros and cons of using only unchecked exceptions. The strongest argument that I’ve heard against using unchecked exceptions goes something like this:
“Java advocates using checked exceptions for recoverable exceptions and …

Uncategorized »

[1 Apr 2004 | Comments Off on XDoclet article | ]

My new article, XDoclet Meets Eclipse: Code Generation Made Easy, is available on www.devx.com. This article is a followup to my last devx article: JBoss Meets Eclipse: Introducing the JBoss-IDE.
“In an earlier article, you learned how to use an Eclipse plugin that supports XDoclet to administer a JBoss application server. Now, take it to the next level: Learn how to use the XDoclet plugin to generate code via a simple servlet-driven, EJB-based example. “