I am plugging in Spring to existing Java EE web Application. I have following lines in my web.xml:
com.MyContextListen
Annotate where you create a new instance of MyContextListener with @Bean if using Java Configs with Spring Boot.
@Bean