| Similar Articles |
 |
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 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 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 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 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 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...  |
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.  |
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 2000 Todd Sundsted |
Secure thread collaboration across protection domains When threads collaborate across protection domains, they introduce interesting wrinkles into the science of building secure applications. This month, we present these scenarios and shows how to use the AccessControlContext and GuardedObject classes to build solid solutions...  |
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 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 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 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 October 2001 Brian Goetz |
Avoid synchronization deadlocks If you understand how your programs use synchronization, and apply consistent rules for acquiring multiple locks simultaneously, you can reduce the likelihood of synchronization deadlock in Java programs...  |
JavaWorld December 2001 Jeff Friesen |
Trash talk, Part 1 One feature that distinguishes Java from other computer languages is its garbage collection abilities. In this article, This article introduces garbage collection and shows how Java's optional support for it affects your programs...  |
JavaWorld November 2001 Brian Goetz |
Can ThreadLocal solve the double-checked locking problem? ThreadLocal is indeed an underappreciated tool in the Java Class Library and does solve the thread-safety problems of DCL, but unfortunately it does not meet the performance objectives of DCL -- yet....  |
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.  |
Unix Insider November 2000 Jim Mauro |
The lightweight process pool A system must maintain enough LWPs available for runnable user threads while keeping the pool small enough so that it doesn't waste kernel resources. How can this be done? Jim Mauro examines the mechanics of the LWP resource pool reserved for unbound user threads...  |
JavaWorld July 2000 Tarak Modi |
Lock on to an alternate synchronization mechanism How to create a reader/writer lock for multithreaded programming. That synchronization mechanism is useful if you don't want to prevent other threads from simultaneously reading a shared resource yet still want to allow only one thread to modify the resource...  |
JavaWorld June 2001 Todd Sundsted |
Secure your Java apps from end to end, Part 1 The foundation of Java security: virtual machine and byte code security...  |
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 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.  |
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 May 2001 Jeff Friesen |
Object-oriented language basics, Part 2 In this article, you'll gain an understanding about fields, parameters, and local variables and learn to declare and access fields and methods...  |
JavaWorld December 2001 Sanjay Dahiya |
Cut down on logging errors with Jylog This article introduces Jylog, a new approach to error-free and flexible event logging. Based on the Java Platform Debugger Architecture, Jylog completely separates logging from coding. Learn how Jylog and its underlying technology, JPDA, work, and how you can use them...  |
Linux Journal November 1, 2003 Robert Love |
The New Work Queue Interface in the 2.6 Kernel This article deals with the new work queue interface only, which was introduced during the 2.5 development series to replace the ailing keventd part of the task queue interface.  |
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.  |
InternetNews August 28, 2006 Andy Patrizio |
Intel: Multiple Tools For Multi-Core Development Moving to a multi-core world means applications will have to be written in a different manner, and as such, Intel has introduced three new utilities to make that process simpler.  |
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...  |
JavaWorld August 2000 Patrick Killelea |
Java threads may not use all your CPUs Tests to confirm symmetric multiprocessing (SMP) scalability of processes and Java threads on Sun hardware have revealed a serious problem in Sun's JDK 1.1.7 that can dramatically reduce the performance of your server-side Java applications.  |
JavaWorld October 2000 Frank Sommers |
Activatable Jini services, Part 2: Patterns of use This article concentrates on the consequences of activation in the Jini context. Sommers exponds on the issue of deactivating objects, then considers the implications of deactivation for well-designed Jini services and how the Jini helper services introduced in the 1.1 beta version of the JSK can contribute...  |
JavaWorld April 25, 2003 |
Letters to the Editor Authors discuss static versus lazy resolution; HTML/JavaServer Pages (JSP)/servlets versus Swing; thread safety with singletons; and more.  |
InternetNews August 15, 2007 Andy Patrizio |
Sun Gives Multithreading an RDBMS Feel Transactional memory will better protect data integrity by locking memory or data so only one thread can access it.  |
JavaWorld September 2001 Michael T. Nygard |
Master Merlin's new I/O classes The JDK 1.4 beta -- the Merlin release -- unleashes hundreds of new classes. This article walks you through some of the platform's new I/O (input/output) capabilities: nonblocking I/O, character conversion, memory-mapped files, and buffer management...  |
Unix Insider December 2000 Jim Mauro |
Solaris 8 threads attributes A at Solaris 8's new features related to threads programming and thread APIs...  |
JavaWorld August 22, 2003 Laurence Vanhelsuwe |
Profiling the profilers Who doesn't have some performance problems in their Java applications? Code profilers are the only custom tools designed to tackle this universal problem. In this article, the author reviews three commercial Java profilers: Optimizeit Suite, JProbe Suite, and JProfiler.  |
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.  |
Linux Journal February 2001 Dan Teodor |
Web Servers and Dynamic Content Using legacy languages like C and Fortran can aid computationally complex web applications...  |
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  |
JavaWorld June 2000 Bill Venners |
An interview with James Gosling A conversation with James Gosling, the inventor of Java and a vice president and fellow at Sun Microsystems...  |
PC Magazine August 12, 2003 Jamie M. Bsales |
Squelch Spam, Too Qualcomm's Eudora 6.0 e-mail program will feature new spam-filtering capabilities.  |
AskMen.com Maggie Kalogeropoulos |
Suit Fabric & Thread Count A rundown of everything you need to know about suits so that you can pick out the perfect one for yourself.  |
This Old House Elizabeth Lilly |
8 Ways to Make Your Bed Heavenly Everyone can agree that a cozy place to fall asleep at night is essential.  |