Similar to How can I access the ServletContext from within a JAX-WS web service?, is there a way to access applicationContext, easier than this?
import javax.ann
Make your web service bean extend a spring bean.
like this