• Post Reply Bookmark Topic Watch Topic
  • New Topic

Best practices book?

 
Chris Bojinca
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.
 
Henry Wong
author
Sheriff
Posts: 22516
109
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!