The core of this sample is the SampleService java class that implements Serializable interface. This class implements the addCounter and substractCounter as service method.
A Main.java resides in BTTSampleServiceClient project. The main classes will invoke the SampleService using Stateless EJB, Stateful EJB and WebService Way.
At BTTSampleServiceWeb project, there's a servlet named DemoPoolService which demonstrates how BTT service leverage on Websphere Object Pool service.