Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Best practices book?  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Scott and Henry,

Does your book contain a chapter (or some chapters) of best practices when using threads or is just a reference of the Java threads and their various usages?

Thanks.
 
author
Sheriff
Posts: 23568
138
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Chris Bojinca:
Hi Scott and Henry,

Does your book contain a chapter (or some chapters) of best practices when using threads or is just a reference of the Java threads and their various usages?

Thanks.



This was one of the main concerns when we updated the book. With the second edition, we implemented and discussed many classes to be later used. This had to be simplified and moved to the appendix, because 1.5 added similar support classes. (an under-statement, as 60 percent of the second edition was probably shortened to a 25 page appendix)

To make this work, we had to make sure that we added value...

So... we added chapters specific for I/O, Swing, and collections; we greatly updated our advanced synchronization and scheduling chapters; And where possible we added discussions based on the many questions that we got asked on the O'Reilly site over the years.

As an example, instead of just a chapter on the atomic classes, we had a chapter about optimistic locking and techniques, which happened to include details on the atomic classes.

Henry
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!