dcsimg
June 20, 2018
Hot Topics:

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






Comment and Contribute

 


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

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date