code: public static GlobalApp ensureGlobalApp( HttpServletRequest request, HttpServletResponse response )
      {
          ServletContext servletContext = InternalUtils.getServletContext( request );
          return ensureGlobalApp( request, response, servletContext );
      }
docs: Get or create the current {@link GlobalApp} instance.
  @deprecated Use {@link #getGlobalApp} 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>.