O'Reilly logo

Swing Extreme Testing by Tim Lavers, Lindsay Peters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Threads

With more demanding customer needs and the greater availability of multi-core systems, server applications have become increasingly multi-threaded over the years. For example, in our LabWizard server there are threads for:

  • Receiving cases from the lab system.

  • Sending reports to the lab system.

  • Periodic tasks such as committing the databases and doing a nightly backup.

  • Logging.

  • Sending emails.

  • Communicating with users via RMI.

Additionally, some of the client commands create their own threads on the server in which data mining tasks are performed.

Although we've never had quite as much time as we'd like to carefully think through the concurrent programming involved, the software has very few concurrency problems and no serious ones ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required