I extend the ServletContextListener and I inject the spring service bean in it.
@ManagedProperty(value = "#{PersonManager}")
private PersonManager personManager;
I got NullPointerException when I used the personManager instance in the contextInitialized(). I would like to know is that possible to look-up the spring service bean instance in the my ServletContextListener. And I would like to know is there any way to look-up the spring service bean in the ServletContextListener.