Double-checked locking: Clever, but broken
Do you know what synchronized <em>really</em> means? From the highly regarded Elements of Java Style to the pages of JavaWorld (see Java Tip 67), many well-meaning Java gurus encourage the use of the double-checked locking (DCL) idiom. There’s only one…
Add the power of asynchronous processing to your JSPs
Create custom JSP tags to use with JMS Most JavaServer Pages (JSP) developers that I’ve worked with love JSP because it’s easy to use and a powerful way to design flexible Webpages. As passionate Web designers, most JSP developers are…
Sun answers Microsoft with Net services push
J2EE, XML occupy the core of the Sun ONE initiative February 6, 2001 — In a move that appears aimed squarely at Microsoft Corp.’s .Net Internet initiative, Sun Microsystems Inc. on Monday unveiled the Sun Open Net Environment (Sun ONE),…
Learn Java from Ben Franklin
Write better Java code using Franklin’s learning techniques In his autobiography (see Resources for a link), Ben Franklin describes how he worked to improve his writing. Franklin found prose he judged to be excellent, wrote a short encapsulation of each…
Are you still using print statements for debugging?
There are more effective ways to debug your Java code For as long as I have been programming (almost two decades now), I’ve used some form of a print statement for debugging purposes. Using print statements is a good way…
Java Product News (February 2, 2001)
Code errors can’t hide from JProbe JProbe Integration Portal for the Java 2 Platform, Enterprise Edition (J2EE), Sitraka’s new toolkit for building high-performance, reliable client and server-side applications, helps developers diagnose and eliminate code errors and inefficiencies. The JProbe Integration…
Java: It’s a good thing
Why Java isn’t slow, ugly, or irrelevant Simson Garfinkel gives Java advocates plenty of things to talk about in his intriguing article “Java: Slow, Ugly, and Irrelevant” (Salon, January 2001). As a fan of Java, I felt compelled to formulate…
LinuxWorld: Sun unveils Java for Linux appliances
New J2ME components improve Java support on Linux-based devices January 31, 2001 — Sun Microsystems on Wednesday shipped two components of its Java 2 Platform, Micro Edition (J2ME) for Linux, which together can provide a software platform for consumer and…
Is Sun paranoid of open source?
To not let Java fall behind, Sun should enthusiastically embrace open source This week the InfoWorld Test Center editors and analysts chose the Top 10 technologies with the most significant impact on business in the year 2000. I respect their…
Get disconnected with CachedRowSet
The new J2EE RowSet implementation provides updateable disconnected ResultSets in your JSPs In spite of the ever-growing access to wireless and physical networks, it is impossible to guarantee uninterrupted database connectivity at all times. Even when reliable database connections are…