Similar Articles |
|
JavaWorld July 2002 Jeff Friesen |
Achieve strong performance with threads, Part 3 How priority relates to thread scheduling, how to use the wait/notify mechanism to coordinate the activities of multiple threads, and how to use Java's thread interruption capability to terminate a running thread. |
JavaWorld April 2002 Ramnivas Laddad |
I want my AOP!, Part 3 How to use AOP and AspectJ to solve real-world problems by modularizing crosscutting concerns... |
JavaWorld August 2002 Jeff Friesen |
Achieve strong performance with threads, Part 4 The author completes his exploration of threads by focusing on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. |
JavaWorld June 2002 Jeff Friesen |
Achieve strong performance with threads, Part 2 Developers sometimes create multithreaded programs that produce erroneous values or exhibit other strange behaviors. Odd behavior typically arises when a multithreaded program does not use synchronization to serialize thread access to critical code sections. What does it mean to serialize thread access to critical code sections? This article explains Java's synchronization mechanism, and two problems that arise when developers fail to use that mechanism correctly. |
JavaWorld May 2002 Jeff Friesen |
Achieve strong performance with threads, Part 1 Users expect programs to exhibit strong performance. To satisfy those expectations, your programs often use threads. This article begins a four-part series that examines threads. You receive an introduction to threads, explore the Thread class, and learn about runnables... |
JavaWorld March 2002 James Carman |
Write once, persist anywhere Most J2EE applications strive to abstract the database tier by employing the Data Access Object design pattern. This article shows you a DAO pattern framework that you can reuse on all your projects, regardless of object type... |
JavaWorld October 2000 Bruce Eckel |
Everything is an object, Part 2 Eckel takes you through name visibility and using components from other libraries; the static keyword; and comments and embedded documentation. By the end, you should be able to build your first Java program... |
JavaWorld July 2000 Todd M. Greanier |
Flatten your objects The Java Serialization API is used by many other Java APIs (like RMI and JavaBeans) to persist objects beyond the duration of a running virtual machine. This article tries to demystify the secrets of the Java Serialization API. |
Linux Journal June 1, 2007 Dave Berton |
Asynchronous Database Access with Qt 4.x How to code around the default synchronous database access in Qt 4. |
JavaWorld December 2001 Bill Pierce |
Diagnose common runtime problems with hprof Ever been a few days from releasing an application when testing reveals a memory leak or something causing the CPU to spin out of control? Few people realize that the Java 2 JDK provides a useful profiling tool called hprof, which you can use to diagnose these behaviors with minimal fuss... |
JavaWorld February 2001 Robert Nielsen |
Learn Java from Ben Franklin While Benjamin Franklin never wrote a line of Java code, his techniques for better writing can be applied to writing Java. Anyone with at least a basic grasp of Java can use Franklin's learning methods... |
JavaWorld July 2001 Todd Sundsted |
Secure your Java apps from end to end, Part 2 Little mistakes during application development often lead to big security problems for developers and users. This article introduces the most common types of design and implementation flaws that turn into security vulnerabilities and describes how to avoid them... |
JavaWorld July 2002 |
Study guide: Achieve strong performance with threads, Part 3 Glossary of terms... Tips and cautions... Homework... Answers to last month's homework... |
JavaWorld December 2000 Victor Okunev |
Validation with pure Java The importance of employing a good data-validation framework cannot be overestimated. The core Java API has everything you need to solve this problem in the most elegant way. |
JavaWorld April 25, 2003 Anthony Karre |
A do-it-yourself framework for grid computing Large-scale grid computing frameworks can be successfully used to build computational grid infrastructures, but their sophistication can also be a barrier for software designers experimenting with entry-level grid computing. |
JavaWorld March 2003 |
Letters to the Editor How do you handle failover in a Java Message Service (JMS) system? When is it safe not to declare a static field volatile in a threaded application? Is there synchronization hidden inside Struts? JavaWorld authors answer these questions and more in this month's Letters. |
JavaWorld June 2002 |
Letters to the Editor Shouldn't Microsoft get credit where credit is due? How do you program a Java class file into an iPAQ? JavaWorld authors answers those questions and more. |
Unix Insider September 2000 Jim Mauro |
Scheduling in the user threads library User level threads in Solaris implement a priority scheme and queue-management system distinct from the kernel thread priorities and per-processor dispatch queues that exist in the kernel. This month, Jim Mauro lays the groundwork for discussion on the internals of the threads library, relative to scheduling and thread priorities. |
JavaWorld December 2000 John Zukowski |
Java threads: A comparative book review Java programs are multithreaded, whether you like it or not. This comparative review of six Java thread programming books will help you decide which books are the best read for learning the Java threading library and creating better technical solutions... |
JavaWorld June 6, 2003 Yexin Chen |
Customize SwingWorker to improve Swing GUIs This article discusses some negative consequences caused by SwingWorker usage and illustrates how to customize SwingWorker to achieve additional architectural design goals. |
JavaWorld November 2000 Geoff Friesen |
Applications, applets, and hybrids This article establishes our bearings and sets sail to the land of applications, applets, and hybrids (an unusual category of Java programs)... |
JavaWorld May 2000 Jason Briggs |
Dynamic user interface is only skin deep A skin is a collection of images and a definition file, which together describe an application interface. Here are ways to use skins to customize your applets... |
JavaWorld May 2000 Michael T. Nygard & Tracie Karsjens |
Test infect your Enterprise JavaBeans Software can never be tested sufficiently, and testing usually starts too late, particularly for J2EE applications. This article presents unit testing techniques and how to apply unit testing to Enterprise JavaBeans (EJBs). |
JavaWorld June 2002 |
Study guide: Achieve strong performance with threads, Part 2 Glossary of terms... Tips and cautions... Homework... Answers to last month's homework... |
JavaWorld June 2000 Paul Corazza |
Using the if-then-else framework, Part 3 In this final part of a three-part series, Paul Corazza analyzes the if-then-else framework's performance and shows you how to optimize algorithms and implementation choices and minimize the risks involved in using the framework in larger-scale projects. The final product is a sleek, industry-ready upgrade of the prototype presented in previous articles, complete with new user options, a performance test harness, and automated safety features capable of handling thousands of conditions and rules. |
JavaWorld September 2000 Bruce Eckel |
Everything is an object, Part 1 This two-part article, excerpted from Chapter 2 in Thinking in Java 2nd. ed., moves you to the point where you can write your first Java program. Bruce Eckel gives an overview of the essentials... |
JavaWorld February 2001 Brian Goetz |
Double-checked locking: Clever, but broken Many Java programmers are familiar with the double-checked locking idiom, which allows you to perform lazy initialization with reduced synchronization overhead. Though many Java books and articles recommend double-checked locking, unfortunately, it is not guaranteed to work... |
JavaWorld November 2001 John Chamberlain |
Implement a J2EE-aware application console in Swing Learn the fundamentals of Swing while creating a command console to control complex enterprise applications. A console provides a window into a system's operation and allows operators to configure, monitor, and control the system in real time... |
Unix Insider October 2000 Jim Mauro |
Scheduling in the user threads library, Part 2 How to make use of the scheduling policies available in POSIX threads... |
JavaWorld December 2000 Michael C. Daconta |
When Runtime.exec() won't This installment of Java Traps discusses one new pitfall and revisits another from the previous column. Originating in the java.lang package, the pitfall specifically involves problems with the Runtime.exec() method. |
JavaWorld October 2001 Tony Loton |
JavaMail quick start This article shows the first steps on the road to building Java-based email applications. If you fancy building your own email client to replace Microsoft Outlook, or a Web-based email system to rival Hotmail, this is the place to start... |
JavaWorld May 2001 Brian Goetz |
Can double-checked locking be fixed? This article looks at some of the commonly proposed fixes and shows how each of them fails to render the DCL idiom thread-safe under the Java Memory Model |