This example includes two EAServer components that will automatically remove old cookie files. Cookies are the PBD files associated with a PB component. Everytime you deploy a component, EAServer creates it in a new subdirectory and leaves the old one, wasting space.

The JagScheduler target has a generic service component that reads it's property file and schedules components to run using the EAServer ThreadManager. The service component runs once at server startup and schedules the components. It also has a window that shows how to start, stop, suspend and resume components from a client application.

The CookieMgr target has a standard component that scans the repository removing unused cookie files. There is also a readme.txt file that explains the properties used by the two components.

Win API Functions used:


——— Last updated 04/26/2007 ———