code: public void init() throws ServletException {
          _application = ((ManagedPlatform)ServicePlatform.getService(ManagedPlatform.INSTANCE).first).getName();
  
  /*
          ApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
          if (wac.containsBean("persistence")) { // persistence may not be there if persistent storage is not required
              _persistence = (Persistence)wac.getBean("persistence");
          }
  */
      }
docs: Initializes the servlet