code: @Override
  	public Response bindApplication( String applicationName, String externalExportPrefix, String boundApp ) {
  
  		this.logger.fine( "Binding " + boundApp  + " to the " + externalExportPrefix + " prefix in application " + applicationName + "." );
  		String lang = lang( this.manager );
  		Response response;
  		try {
  			ManagedApplication ma = this.manager.applicationMngr().findManagedApplicationByName( applicationName );
  			if( ma == null ) {
  				response = handleError(
  						Status.NOT_FOUND,
  						new RestError( REST_INEXISTING, application( applicationName )),
  						lang ).build();
  
  			} else {
  				this.manager.applicationMngr().bindOrUnbindApplication( ma, externalExportPrefix, boundApp, true );
  				response = Response.ok().build();
  			}
  
  		} catch( UnauthorizedActionException | IOException e ) {
  			response = RestServicesUtils.handleError(
  					Status.FORBIDDEN,
  					new RestError( ErrorCode.REST_UNDETAILED_ERROR, e ),
  					lang ).build();
  		}
  
  		return response;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IApplicationResource
  #bindApplication(java.lang.String, java.lang.String, java.lang.String)