[jboss-dev-forums] [Design of JBossCache] - Re: Common marshalling infrastructure
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Aug 6 23:29:54 EDT 2008
So where does the invocation target class loader fit in, I don't see it in the apis.
I have been talking to Ron about some current remoting class loading issues that arise from the invocation handler being the only one who knows the correct class loader for unmarshalling application specific classes:
1. thread pool receives a remoting request.
2. unmarshall just enough to understand the request, but don't unmarshall any invocation payload. Application specific data needs to be isolated outside of the remoting control structures to allow this to happen.
3. dispatch the request to a handler.
4. handler sets the TCL
5. handler or its delegate unmarshalls application payload
6. application does what is does.
7. handler serializes application return/exception and then unsets the TCL
8. remoting layer completes request control information
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169175#4169175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169175
More information about the jboss-dev-forums
mailing list