code: @Override
  	public Response loadUploadedZippedApplicationTemplate( InputStream uploadedInputStream, FormDataContentDisposition fileDetail ) {
  
  		this.logger.fine( "Request: load application from an uploaded ZIP file (" + fileDetail.getFileName() + ")." );
  		File tempZipFile = new File( System.getProperty( "java.io.tmpdir" ), fileDetail.getFileName());
  		Response response;
  		try {
  			// Copy the uploaded ZIP file on the disk
  			Utils.copyStream( uploadedInputStream, tempZipFile );
  
  			// Load the application
  			response = loadZippedApplicationTemplate( tempZipFile.toURI().toURL().toString());
  
  		} catch( IOException e ) {
  			response = handleError(
  					Status.NOT_ACCEPTABLE,
  					new RestError( REST_MNGMT_ZIP_ERROR, e ),
  					lang( this.manager )).build();
  
  		} finally {
  			Utils.closeQuietly( uploadedInputStream );
  
  			// We do not need the uploaded file anymore.
  			// In case of success, it was copied in the DM's configuration.
  			Utils.deleteFilesRecursivelyAndQuietly( tempZipFile );
  		}
  
  		return response;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IManagementResource
  #loadUploadedZippedApplicationTemplate(java.io.InputStream, com.sun.jersey.core.header.FormDataContentDisposition)