code: public static GlobalApp ensureGlobalApp( HttpServletRequest request, HttpServletResponse response,
                                               ServletContext servletContext )
      {
          GlobalApp ga = getGlobalApp( request );
          
          if ( ga != null )
          {
              ga.reinitialize( request, response, servletContext );
          }
          else
          {
              ga = FlowControllerFactory.getGlobalApp( request, response, servletContext );
          }
          
          return ga;
      }
docs: Get or create the current {@link GlobalApp} instance.
  @deprecated Use {@link #getSharedFlow} instead.
  
  @param request the current HttpServletRequest.
  @param response the current HttpServletResponse
  @return the current {@link GlobalApp} from the user session, or a newly-instantiated one
  (based on the user's Global.app file) if none was in the session.  Failing that,
  return <code>null</code>.