Hi,
It is possible to access a portlet context bean from root application context in spring mvc portlet?

I have a portlet application which uses DWR (direct web remoting) and now I don't have a possiblility to generate a Javascript code from class which is instantiated in portlet context.(Generating from an application context works for me with no problem) I would like to create a service in application context which invokes a portlet context bean method.

Do you know any way to properly integrate DWR with spring mvc portlets ?