The ACE Programmer's Guide: Practical Design Patterns for Network and Systems Programmingby Stephen D. Huston, James CE Johnson, Umar Syyid, James Ce Johnson
Pub. Date: 10/17/2003
If you're designing software and systems that must be portable, flexible, extensible, predictable, reliable, and affordable, this book and the ACE toolkit will enable you to be more effective in all of these areas. Even after spending over a decade developing ACE and using it to build networked software applications, I find that I've learned a great deal from… See more details below
If you're designing software and systems that must be portable, flexible, extensible, predictable, reliable, and affordable, this book and the ACE toolkit will enable you to be more effective in all of these areas. Even after spending over a decade developing ACE and using it to build networked software applications, I find that I've learned a great deal from this book, and I'm confident that you will, too.
--Douglas C. Schmidt, Inventor of ACE, from the Foreword
This book is a must-have for every ACE programmer. For the beginner, it explains step-by-step how to start using ACE. For the more experienced programmer, it explains in detail the features used daily, and is a perfect reference manual. It would have saved me a lot of time if this book had been available some years ago!
--Johnny Willemsen, Senior Software Engineer, Remedy IT, The Netherlands
With a large C++ code base, we rely on ACE to enable a cross-platform client-server framework for data quality and data integration. ACE has improved our design and smoothed over OS idiosyncrasies without sacrificing performance or flexibility. The combination of online reference materials and printed "big picture" guides is indispensable for us, and The ACE Programmer's Guide earns top-shelf status in my office.
--John Lilley, Chief Scientist, DataLever Corporation
In SITA air-ground division, we are one of the major suppliers of communication services to the airline industry. We started using ACE about a year ago and are now moving most of our new communication-related development to it. I can say that using this toolkit can reduce the development and testing time by at least 50% in our type of application.
--Jean Millo, Senior Architect, SITA
The ADAPTIVE Communication Environment (ACE) is an open-source software toolkit created to solve network programming challenges. Written in C++, with the help of 30 core developers and 1,700 contributors, this portable middleware has evolved to encapsulate and augment a wide range of native OS capabilities essential to support performance-driven software systems.
The ACE Programmer's Guide is a practical, hands-on guide to ACE for C++ programmers building networked applications and next-generation middleware. The book first introduces ACE to beginners. It then explains how you can tap design patterns, frameworks, and ACE to produce effective, easily maintained software systems with less time and effort. The book features discussions of programming aids, interprocess communication (IPC) issues, process and thread management, shared memory, the ACE Service Configurator framework, timer management classes, the ACE Naming Service, and more.
The accompanying CD-ROM contains the complete ACE toolkit, including installable kits for Windows, Solaris, and HP-UX; complete reference documentation for all of the ACE classes; and source code for every example in the book.
- Publication date:
- Edition description:
- New Edition
- Sales rank:
- Product dimensions:
- 7.45(w) x 9.06(h) x 1.06(d)
Table of Contents
I. ACE BASICS.
1. Introduction to ACE.
A History of ACE.
Patterns, Class Libraries, and Frameworks.
Porting Your Code to Multiple Operating Systems.
Smoothing the Differences among C++ Compilers.
Using Both Narrow and Wide Characters.
Where to Find More Information and Support.
2. How to Build and Use ACE in Your Programs.
A Note about ACE Versions.
Guide to the ACE Distribution.
How to Build ACE.
How to Include ACE in Your Applications.
How to Build Your Applications.
3. Using the ACE Logging Facility.
Basic Logging and Tracing.
Enabling and Disabling Logging Severities.
Customizing the ACE Logging Macros.
Redirecting Logging Output.
The Logging Client and Server Daemons.
The LogManager Class.
Runtime Configuration with the ACE Logging Strategy.
4. Collecting Runtime Information.
Command Line Arguments and ACE_Get_Opt.
Accessing Configuration Information.
Building Argument Vectors.
5. ACE Containers.
II. INTERPROCESS COMMUNICATION.
6. Basic TCP/IP Socket Use.
A Simple Client.
Adding Robustness to a Client.
Building a Server.
7. Handling Events and Multiple I/O Streams.
Overview of the Reactor Framework.
Handling Multiple I/O Sources.
Using the Acceptor-Connector Framework.
8. Asynchronous I/O and the ACE Proactor Framework.
Why Use Asynchronous I/O?.
How to Send and Receive Data.
The ACE_Proactor Completion Demultiplexer.
Other I/O Factory Classes.
Combining the Reactor and Proactor Frameworks.
9. Other IPC Types.
Interhost IPC with UDP/IP.
III. PROCESS AND THREAD MANAGEMENT.
10. Process Management.
Spawning a New Process.
Using the ACE_Process_Manager.
Synchronization Using ACE_Process_Mutex.
Guarding Critical Sections.
Signal Management with the Reactor.
12. Basic Multithreaded Programming.
Basic Thread Safety.
13. Thread Management.
Types of Threads.
Priorities and Scheduling Classes.
Thread Management Using ACE_Thread_Manager.
Thread Start-Up Hooks.
14. Thread Safety and Synchronization.
15. Active Objects.
Using the Pattern.
16. Thread Pools.
Understanding Thread Pools.
Thread Pools and the Reactor.
IV. ADVANCED ACE.
17. Shared Memory.
ACE_Malloc and ACE_Allocator.
Persistence with ACE_Malloc.
ACE_Malloc for Containers.
18. ACE Streams Framework.
Using a One-Way Stream.
A Bidirectional Stream.
19. ACE Service Configurator Framework.
Configuring Static Services.
Setting Up Dynamic Services.
Setting Up Streams.
Reconfiguring Services During Execution.
Using XML to Configure Services and Streams.
Configuring Services without svc.conf.
Singletons and Services.
Managing Event Handlers.
21. ACE Naming Service.
A Single-Process Naming Context: PROC_LOCAL.
Sharing a Naming Context on One Node: NODE_LOCAL.
Sharing a Naming Context across the Network: NET_LOCAL.
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >