code: @Override
  	public Response executeCommand( String app, String commandName ) {
  
  		this.logger.fine("Request: execute command " + commandName + " in the " + app + " application.");
  		String lang = lang( this.manager );
  		Response response = Response.ok().build();
  		try {
  			Application application = this.manager.applicationMngr().findApplicationByName( app );
  			if( application == null )
  				response = handleError( Status.NOT_FOUND, new RestError( REST_INEXISTING, application( app )), lang ).build();
  			else
  				this.manager.commandsMngr().execute( application, commandName, CommandHistoryItem.ORIGIN_REST_API, null );
  
  		} catch( NoSuchFileException e ) {
  			response = RestServicesUtils.handleError(
  					Status.NOT_FOUND,
  					new RestError( ErrorCode.REST_INEXISTING, e, ErrorDetails.name( commandName )),
  					lang ).build();
  
  		} catch( CommandException e ) {
  			response = RestServicesUtils.handleError(
  					Status.CONFLICT,
  					new RestError( ErrorCode.REST_APP_EXEC_ERROR, e, ErrorDetails.name( commandName )),
  					lang ).build();
  
  		} catch( Exception e ) {
  			response = RestServicesUtils.handleError(
  					Status.INTERNAL_SERVER_ERROR,
  					new RestError( ErrorCode.REST_UNDETAILED_ERROR, e ),
  					lang ).build();
  		}
  
  		return response;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IApplicationResource
  #executeCommand(java.lang.String, java.lang.String)