code: public void run()
      {    	
      	System.out.println(AsciiSplash.getSplashArt());
          System.out.println("Welcome to the OJB PB tutorial application");
          System.out.println();
          // never stop (there is a special use case to quit the application)
          while (true)
          {
              try
              {
                  // select a use case and perform it
                  UseCase uc = selectUseCase();
                  uc.apply();
              }
              catch (Throwable t)
              {
                  broker.close();
                  System.out.println(t.getMessage());
              }
          }
      }
docs: the applications main loop.