The GlassFish project includes an implementation of the JSR-88 API. This allows any tool that complies with JSR-88 to deploy applications to and undeploy applications from the app server. The JSR-88 implementation in the GlassFish project exposes several classes to the tool writer. One of the main ones is the SunDeploymentManager which implements the JSR-88 DeploymentManager interface. It bridges the JSR-88 API to the DeploymentFacility shared by all GlassFish project deployment clients. If you are interested in exploring the JSR-88 implementation, this class is a good place to start. It and other classes related to the JSR-88 implementation reside in the appserv-core/src/java/com/sun/enterprise/deployapi branch of the source code repository.
Precisely, the source is here: https://glassfish.dev.java.net/source/browse/glassfish/deployment-api/ And new package should be probably called like glassfish-deployment-api ?
I'm on it.
Added: ------------------------------------------------------------------------------ Add J2EE deployment-api built from Glassfish sources. (Portage version: 2.1.6.13/cvs/Linux x86_64) ------------------------------------------------------------------------------ It uses the same source zip archive as glassfish-transaction-api.