"aleksab" wrote : Where is the connection from ie. the domain "Stateless
Bean" to the annotation @Stateless made?
It is hardcoded. If you also use @Clustered it uses "Clustered Stateless Bean"
(or whatever it is called), which again is hardcoded. For any other domains, use
@AspectDomain.
a)
*@Local must be running within JBoss AS and has no interceptors. The container will thus
be running in the same thread as the caller.
*@Remote obviously can run outside, it has a stack of client interceptors. It needs to put
the info into the invocation metadata so that can be picked up on the server.
b)
I'd add a new stack, copying the information from StatelessSessionClientInterceptors.
and adding your interceptor in there somewhere and use
@RemoteBinding(interceptorStack="MyCustomSLSBClientInterceptorStack")
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000872#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...