Stock quote connection pool

As a short example, I've created an application that reads data about stock symbols (AAPL (Apple), IBM, and MSFT (Microsoft)) and returns some basic information about the symbol, such as the latest stock value. This information is retrieved from a public server provided by the company IEX (https://iextrading.com/developer/docs/#attribution).

The demonstration program, ObjectPoolPattern allows you to enter the name of a stock symbol and then query the server for this symbol's data by clicking the Get data button. This will generate a request in the  https://api.iextrading.com/1.0/stock/SYMB/quote form, where SYMB will be replaced with the actual symbol (for example, MSFT).

As connecting to a https server is a relatively ...

Get Hands-On Design Patterns with Delphi now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.