code: public static String getAppName() {
  		String appName=System.getProperty(JKContextConstants.JK_APP_NAME);
  		if (appName == null) {
  			String mainClassName = JKDebugUtil.getMainClassName();
  			return mainClassName.substring(0, mainClassName.lastIndexOf("."));
  		}
  		return appName;
  	}
docs: Gets the app name.
  
  @return the app name