Category: Ada

CORBA Programming

Sponsor Advertisement

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

CORBA stands for Common Object Request Broker Architecture. The original idea was to create a single universal standard for how objects across different platforms, programming languages, network protocols can communicate with each other in a seamless manner. For example, an application developed on say a Sun Workstation running Unix under the programming language C needs to communicate by virtue of some well defined standard interface (the accepted contract) to a Intel based PC running Windows-2000 developed under Pascal. Without such a standard both sides need to negotiate all the details including the transport protocols.

The CORBA standard defines general interface standards that can be supported by different programming languages. In addition it also defines the quality and robustness of the communication, error handling, and recovery. The Standard does not cover implementation details, but only specifies the general interface language (IDL) used across all supported languages, exception handling specification, a special transport protocol called IOP that sits on top of TCP/IP, as well as the specific programming language mappings. Using the IDL, an implementation for the specific platform dependent object is generated which can be compiled using the supported language.

This book describes the implementation of a simple CORBA object using PolyORB and Ada. While the functionality is very simple the design itself is more extensive using modules, PolyORB’s logging facility and meta classes giving you a better view of what is really needed in a client/server application.

While knowledge of programming in Ada in particular is not needed, you should have knowledge of object oriented programming in general.

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • object definition
  • object specification
  • object implementation
  • CORBA IDL definition
  • Ada Specification
  • Ada Implementation
  • The server
  • The client

http://en.wikibooks.org/wiki/CORBA_Programming

Ada Programming

Sponsor Advertisement

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

This book covers the Ada 2005 standard. If you are a beginner you will learn the latest standard — if you are a seasoned Ada user you can see what’s new.

Even though the book is still a work in progress, and there may be incomplete or missing chapters, with over 200 pages, it is the largest and most complete programming related Wikibook in the collection.

Chapters include:

  • Programming in the large
  • Programming in the small
  • The Language Reference Manual
  • Ada Conformity Assessment Test Suite
  • Getting Started
  • Language Features
  • Computer Programming
  • Language Reference
  • Predefined Language Libraries
  • Other Language Libraries
  • External resources
  • Source Code
  • References
  • Ada 2005 textbooks
  • Manuals and guides
  • High-Integrity Software
  • Resources
  • Research and user groups
  • Associations
  • Free online books/courses

http://en.wikibooks.org/wiki/Ada_Programming

Ada Distilled: An Introduction to Ada Programming for Experienced Computer Programmers

Sponsor Advertisement

  • Author: Richard Riehle
  • Format: PDF
  • Price: free

This book highlights some key features of the Ada language, with coded examples, that are essential for getting started as an Ada programmer. It emphasizes syntax, control structures, subprogram rules, and how-to coding issues rather than design issues.

Ada Distilled is for experienced programmers new to Ada. Heavily commented example programs help experienced programmer experiment with Ada. This is not a comprehensive book on the entire Ada language. In particular, it says very little about Ada Finalization, Storage Pool Management, Representation Specifications, Concurrency, and other more advanced topics.

Chapters include:

  • What is Ada Distilled?
  • Summary of Language
  • Types and the Type Model
  • Control Structures for Algorithms
  • Access Types (Pointers)
  • Subprograms
  • Package Design
  • Child Library Units
  • Object-Oriented Programming with Packages
  • Using Standard Libraries and Annexes
  • Exception Management
  • Generic Components
  • New Names from Old Ones
  • Concurrency with Tasking

http://www.adapower.com/pdfs/AdaDistilled07-27-2003.pdf

Ada 95: The Craft of Object-Oriented Programming

Sponsor Advertisement

  • Author: John English
  • Format: HTML
  • Price: free

This book is a beginner’s introduction to Ada 95. It uses an example-driven approach that gradually develops small programs into large case-study type programs. The focus of this book is on using object-oriented approaches to write maintainable, extensive programs. Important and unique ADA features such as exception handling, user-defined types, procedures, functions, and packages are covered early in the text.

Chapters include:

  • Programming concepts
  • Fundamentals of Ada
  • Statements
  • Procedures, functions and packages
  • Defining new data types
  • Composite data types
  • Exceptions
  • Program design and debugging
  • Private types
  • Designing with abstract data types
  • Dynamic memory allocation
  • Generics
  • Building a calculator
  • Tagged types
  • Polymorphism and dispatching
  • Controlled types
  • An object-oriented calculator
  • Designing a spreadsheet
  • Multitasking
  • Loose ends
  • Language summary
  • Selected standard packages
  • Language-defined attributes
  • Package Listings

Visit: Ada 95: The Craft of Object-Oriented Programming

Ada 95 Reference Manual

Sponsor Advertisement

  • Author: Tucker S. Taft (Editor), Robert A. Duff (Editor)
  • Format: online HTML
  • Price: free

This Ada 95 Reference Manual is essentially identical to the new International Standard ISO/IEC 8652:1995(E) for the Ada programming language. The thorough technical revisions and extensions documented in this manual are built on broad participation from the international Ada community and generous support by leading institutions. Over 750 submitted revision requests were evaluated, and the resulting enhancements make Ada 95 an outstanding language. The flexibility of languages such as C++, modern features such as object orientation, and improved interfacing capabilities have been added to the reliable software engineering capabilities provided and proven for over a decade by the predecessor version Ada 83; furthermore, upward compatibility from Ada 83 to Ada 95 has been achieved.

Chapters include:

  • General
  • Lexical Elements
  • Declarations and Types
  • Names and Expressions
  • Statements
  • Subprograms
  • Packages
  • Visibility Rules
  • Tasks and Synchronization
  • Program Structure and Compilation Issues
  • Exceptions
  • Generic Units
  • Representation Issues

Read

Mirror

Buy Print Edition

Ada 95 Rationale

Sponsor Advertisement

  • Author: Laurent Guerby
  • Format: online HTML
  • Price: free

Ada is a programming language of special value in the development of large programs which must work reliably. This applies to most defense applications (from which background Ada evolved) and extends to many application domains. Indeed over half the Ada programs now being developed are for non-defense applications.
This document describes the rationale for Ada 95, the revised International Standard. Ada 95 increases the flexibility of Ada thus making it applicable to wider domains but retains the inherent reliability for which Ada has become noted. Important aspects of Ada 95 include

  • Object Oriented Programming. Ada 95 includes full OOP facilities giving the flexibility of programming by extension which enables programs to be extended and maintained at lower cost.
  • Hierarchical Libraries. The library mechanism now takes a hierarchical form which is valuable for the control and decomposition of large programs.
  • Protected Objects. The tasking features of Ada are enhanced to incorporate a very efficient mechanism for multitask synchronized access to shared data. This is of special value for hard realtime systems.

Chapters include:

  • Evolution of Ada 95
  • Highlights of Ada 95
  • Overview of the Ada Language
  • Introduction
  • Lexical Elements
  • Types and Expressions
  • Object Oriented Programming
  • Statements
  • Subprograms
  • Packages
  • Visibility Rules
  • Tasking
  • Program Structure and Compilation Issues
  • Exceptions
  • Generics
  • Representation Issues
  • Predefined Language Environment
  • Interface to Other Languages
  • Systems Programming
  • Real-Time Systems
  • Distributed Systems
  • Information Systems
  • Numerics
  • Safety and Security

Read

Mirror

Buy Print Edition