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. Software developers with all levels of experience can refer to Creating Components: Object Oriented, Concurrent, and Distributed Computing in Java to better understand how concurrency works, more effectively deploy it in program components, and reuse these components to improve program design, quality, and performance.
This text introduces concurrent and component programming to students, engineers, and programmers who are familiar with Java and procedural and GUI programming. It helps them to understand and apply concurrency in Java component programming, while exploring distributed program implementation, Java threads, objects, interfaces, exceptions, component reuse, and system design and management.
By providing the fundamental concepts of object-oriented components and offering templates for distributed program components, this valuable resource reveals how programmers can apply concurrency and components to solve complex problems.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
INTRODUCTION TO CONCURRENT PROGRAMMING AND COMPONENTS
Chapter Goals
What is Concurrent Programming?
Components
Types of Concurrent Programming
THREADS AND PROGRAM CONTEXTS
Writing threads in Java
A Simple Execution Model
Program Safety
Deadlock
DESIGNING AND IMPLEMENTING CONCURRENT PROGRAMS WITH STATE DIAGRAMS
Background
Steps to Create a Concurrent Program
The Producer/Consumer Problem
Why Passive Objects are Components
Gas Station Simulation Problem
Identifiers, Variables, Objects, and Collection Classes
Identifiers and Variables
Java Identifiers and Variables
Primitives
Objects
Collection Classes in Java
PROGRAMMING TO AN INTERFACE
Reuse with Interfaces
Programming to a Promise
Dynamic Polymorphism
Using Multiple Interfaces
Implementing the SortedPrintTable
Using the SortedPrintTable
Expression Trees
EXCEPTIONS IN JAVA
How to Incorrectly Handle Errors
Java Exception Handling
Checked and Unchecked Exceptions
Writing Exceptions
IMPLEMENTING AN ANIMATOR COMPONENT USING THE JAVA EVENT MODEL
A Very Simple Animator
Adding a Speed Control to the Animator
Implementing a Generic Animator
Implementing the Animator using the Java Event Model
Multicasters
COOPERATIVE SYNCHRONIZATION
Cooperative and Competitive Synchronization
Coordinating Threads using Long Sleep Times
Using Wait and Notify to Coordinate Threads
A Solution with a Hidden Race Condition
Solving the Race Condition
Notification Objects
Animating the Gas Station Problem
COMBINING CONCURRENT TECHNIQUES
A First-In-First-Out-Binary-Semaphore
Readers-Writers Problem
An Improved Gas Station Simulation
Improving the Animator
ORGANIZING THE PROBLEM FOR REUSE: REUSE OF UTILITY CLASSES
Types of Reuse
Finding Commonality in Code
Reuse by Copy
Procedural Reuse in Java
Classification: Reuse by Extension
Composition: Reuse by Delegation
Defining the Java Event Model by Extending a Vector
Using Cohesion and Coupling to Evaluate Designs
OBJECT ORIENTED DESIGN
Organizing Objects
Choosing Composition or Classification
Conclusion
PROGRAM MANAGEMENT IN JAVA
What is Program Management?
Implementation Attributes Not Defined in Java
Implementation Attributes Defined in Java
Packages
DISTRIBUTED PROGRAMMING USING RMI
A Brief History of Distributed Computing
Overview of RMI
Implementing a simple program using RMI
Migrating and Non-Migrating Objects
Chat Program
Book by Kann Charles W
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
EUR 3,35 per la spedizione in U.S.A.
Destinazione, tempi e costiEUR 7,73 per la spedizione da Regno Unito a U.S.A.
Destinazione, tempi e costiDa: HPB-Red, Dallas, TX, U.S.A.
paperback. Condizione: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Codice articolo S_406675904
Quantità: 1 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: As New. Unread book in perfect condition. Codice articolo 1198413
Quantità: 10 disponibili
Da: Majestic Books, Hounslow, Regno Unito
Condizione: New. pp. xvii + 430 Illus. This item is printed on demand. Codice articolo 8387977
Quantità: 3 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: New. Codice articolo 1198413-n
Quantità: 10 disponibili
Da: GreatBookPricesUK, Woodford Green, Regno Unito
Condizione: As New. Unread book in perfect condition. Codice articolo 1198413
Quantità: 10 disponibili
Da: Revaluation Books, Exeter, Regno Unito
Paperback. Condizione: Brand New. 1st edition. 448 pages. 9.75x6.75x1.00 inches. In Stock. Codice articolo __0849314992
Quantità: 1 disponibili
Da: Books Puddle, New York, NY, U.S.A.
Condizione: New. pp. xvii + 430 1st Edition. Codice articolo 26541270
Quantità: 3 disponibili
Da: Biblios, Frankfurt am main, HESSE, Germania
Condizione: New. pp. xvii + 430. Codice articolo 18541276
Quantità: 3 disponibili
Da: GreatBookPricesUK, Woodford Green, Regno Unito
Condizione: New. Codice articolo 1198413-n
Quantità: 10 disponibili
Da: THE SAINT BOOKSTORE, Southport, Regno Unito
Paperback / softback. Condizione: New. New copy - Usually dispatched within 4 working days. 834. Codice articolo B9780849314995
Quantità: 1 disponibili