Book description
Concurrency is a powerful technique for developing efficient and lightning- fast software. For instance, concurrency can be used in common applications such as online order processing to speed processing and ensure transaction reliability. However, mastering concurrency is one of the greatest challenges for both new and veteran programmers. Softwar
Table of contents
- Cover Page
- Other Auerbach Publications
- Title Page
- Copyright Page
- Preface
- Chapter 1: Introduction to Concurrent Programming and Components
- Chapter 2: Threads and Program Contexts
- Chapter 3: Designing and Implementing Concurrent Programs with State Diagrams
- Chapter 4: Identifiers, Variables, Objects, and Collection Classes
- Chapter 5: Programming to an Interface
- Chapter 6: Exceptions in Java
- Chapter 7: Implementing an Animator Component Using the Java Event Model
-
Chapter 8: Cooperative Synchronization
- 8.1 Introduction
- 8.2 Chapter Goals
- 8.3 Cooperative and Competitive Synchronization
- 8.4 Coordinating Threads Using Long Sleep Times
- 8.5 Using Wait and Notify to Coordinate Threads
- 8.6 A Solution with a Hidden Race Condition
- 8.7 Solving the Race Condition
- 8.8 Notification Objects
- 8.9 Animating the Gas Station Problem
- 8.10 Further Reading
- 8.11 Problems
- Chapter 9: Combining Concurrent Techniques
-
Chapter 10: Organizing the Problem for Reuse: Reuse of Utility Classes
- 10.1 Introduction
- 10.2 Chapter Goals
- 10.3 Types of Reuse
- 10.4 Finding Commonality in Code
- 10.5 Reuse by Copy
- 10.6 Procedural Reuse in Java
- 10.7 Classification: Reuse by Extension
- 10.8 Composition: Reuse by Delegation
- 10.9 Defining the Java Event Model by Extending a Vector
- 10.10 Using Cohesion and Coupling to Evaluate Designs
- 10.11 Conclusion
- 10.12 Further Reading
- 10.13 Problems
- Chapter 11: Object-Oriented Design
- Chapter 12: Program Management in Java
- Chapter 13: Distributed Programming Using RMI
- Appendix A: Key Words
- References
Product information
- Title: Creating Components
- Author(s):
- Release date: September 2017
- Publisher(s): Auerbach Publications
- ISBN: 9781135505905
You might also like
book
Developing Games in Java™
If you already have Java programming experience and are looking to program games, this book is …
book
Game Development with Construct 2: From Design to Realization
Design and create video games using Construct 2. No prior experience is required. Game Development with …
book
Pure JavaScript, Second Edition
Pure JavaScript, Second Edition is a substantial and focused reference for experienced Web developers. This book …
book
Java 13 Revealed: For Early Adoption and Migration
Explore the new Java programming language features and APIs introduced in Java 10 through Java 13. …