A spring implementation of a stock program