On Wed, 30 Jan 2002, marc fleury wrote:

> Bill got my hear yesterday where he pitched the interceptor design on the 3.0 client 
>side. 
> Instant love.
> 
> We are not that far from it in fact, it a bit of renaming and factory game on the 
>server.  Essentially the client does
> 
> Generic Proxy -> Handler -> EJB behavior -> Transport
> 
> In the transport layer we extract the Tx and Security information.
> 
> The pitch was simple it had to do with moving
> 
> GP->Handler->interceptor 1 (EJB behavior for example) ->interceptor 2 (Tx 
>extraction) -> interceptor 3 (Security) -> Transport (invoker).

I'm glad to see, that jboss will support pluggable interceptors on the 
client side, now. You can do cool things with that. Think of:

o tracing interceptor
o profiling interceptor
o caching interceptor (for getters)
o invocation bundeling (send an array of method invocations and return an 
  array of results .. all that in one user transaction)
o exception discrimination for retry / reconnect (if not implemented in 
  the transport already)
o loadbalancing / failover for stateless sessionbeans (if not implemented 
  in the transport already)
o invocation recording and replaying (for restoring initial state after 
  reconnect to a stateful sessionbean)
o mobility !!! if the caller is a sessionbean, serialize it, move it to 
  a container on the target, do local calls, return to the originating
  container
o compression (zip the serialized invocations .. results are mostly 
  disappointing, because reducing latency is much more importent than
  reducing data)
o encryption / signing

some of these interceptors add additional methods to the components 
interface / dynamic proxy:

o ejb behaviour
o recording
o mobility
o invocation bundeling

invocations to these methods will be handled by the corresponding 
interceptors. Only the method invocations of the component's remote 
interface will reach the transport at the end of the interceptor chain.

The (named) interceptor configuration should be chooseable for every 
ejb-ref. the interceptor configuration requirements of home interfaces 
might differ from that of the remote interfaces.

Love it,

Holger


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to