April 18, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Working with Java Threads Before and After JDK 5

  • August 16, 2010
  • By Avneet Mangat
  • Send Email »
  • More Articles »

When a Java developer builds multithreaded enterprise applications, these are some of the major issues he or she has to face:

  • Deciding how to run several threads in parallel
  • Synchronizing access to some data
  • Executing a block of code synchronously so that only one thread at a time executes a particular block of code

Developers will find plenty of articles about Java threads on the Web, but lost in all the details about the JDK1.5 threading framework's features is a critical analysis of the classic pre-JDK1.5 framework – which still has its uses.

The JDK1.5 threading framework did provide several new features and fine-grained control, which made writing multithreaded Java applications easier than using the classic pre-JDK1.5 framework. However, the process remains challenging and error prone. In his JavaBoutique.com article, Avneet Mangat compares all of the old and new threading-related classes in Java.


Read the full story at Java Boutique:
Java Threads Revisited: Classic vs. New


Tags: Java, JDK, threads




Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel