added pooling option to deployment descriptor generating process