Threading « Language « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Language » Threading 
1. The thread threat
Author:Vladimir Roubtsov
URL:http://www.javaworld.com/javaworld/javaqa/2003-02/01-qa-0214-threadsafe.html?
Summary: Why is coding for thread safety still a challenge?


2. Programming Java threads in the real world, Part 5
Author:Allen Holub
URL:http://www.javaworld.com/javaworld/jw-02-1999/jw-02-toolbox.html?
Summary: In an aside to his running series on programming Java threads in the real world, Allen prefaces this month's column with a look at one dangerous new "feature" of the Java 2 platform: the ability to produce noncompliant class files that will not run on a 1.1 Java virtual machine (JVM). From there, he picks up the theme from Part 4 of this series. This month's main topic is timers, both the one in the Swing library (called Timer) and also a roll-your-own variety called Alarm, which is useful when the Swing Timer isn't available or appropriate. Timers let you perform fixed-interval operations, such as animation refreshes. The Alarm implementation included here is by far the most complicated of the classes you've looked at so far, and it demonstrates several important Java programming techniques, such as how to write code that needs to suspend and resume threads without using the (now deprecated) suspend() and resume() methods. Along the way, Allen reveals how to kill a thread gracefully, without using the (also deprecated) stop() method. (6,000 words)


3. Programming Java threads in the real world, Part 6
Author:Allen Holub
URL:http://www.javaworld.com/javaworld/jw-03-1999/jw-03-toolbox.html?
Summary: This month continues the thread theme by examining how to implement the Observer pattern (used by AWT/Swing for its event model) in a multithreaded environment. The article covers how to notify observers in an efficient, thread-safe way using code modeled after Java's AWTEventMulticaster. It also considers a few problems with AWT/Swing's use of Observer. (4,500 words)


4. Thread use in Java
Author:Java Q&Amp;A Experts
URL:http://www.javaworld.com/javaworld/javaqa/1999-10/02-qa-native.html?
Summary: Adapt your code to handle both green and native threads


5. A look at the JVM and thread behavior (June 28, 1999)
Author:Java Q&A Experts
URL:http://www.javaworld.com/javaworld/javaqa/1999-07/04-qa-jvmthreads.html?
Summary: The Java experts examine the relationship between the JVM and thread behavior. (600 words)


6. The taming of the thread
Author:Roy M. Pueschel
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip132.html?
Summary: With MutableThread and ThreadWatchDog, you can make your threads come back to life and continue running seamlessly even after thread death. (1,400 words; November 15, 2002)


w__w__w__._j__a___v___a2_s___._c_o_m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.