code: public List<Application> listApplications( String exactName ) throws ManagementWsException {
  
  		if( exactName != null )
  			this.logger.finer( "List/finding the application named " + exactName + "." );
  		else
  			this.logger.finer( "Listing all the applications." );
  
  		WebResource path = this.resource.path( UrlConstants.APPLICATIONS );
  		if( exactName != null )
  			path = path.queryParam( "name", exactName );
  
  		List<Application> result = this.wsClient.createBuilder( path )
  				.accept( MediaType.APPLICATION_JSON )
  				.get( new GenericType<List<Application>> () {});
  
  		if( result != null )
  			this.logger.finer( result.size() + " applications were found on the DM." );
  		else
  			this.logger.finer( "No application was found on the DM." );
  
  		return result != null ? result : new ArrayList<Application> ();
  	}
docs: Lists applications.
  @param exactName if not null, the result list will contain at most one application (with this name)
  @return a non-null list of applications
  @throws ManagementWsException if a problem occurred with the applications management