4 Replies Latest reply on Nov 19, 2009 6:26 PM by Arbi Sookazian

    Bean objects representing interceptors, decorators and producer methods

    Arbi Sookazian Master

      what role does the proxy pattern (GoF - someone plz write a Java/C# version of this book!) play in interceptors, decorators and producers?

      Seems like dynamic proxies are used by Spring and EJB to inject or decorate a bean with services like tx support, security, logging, etc. whether via aspects or interceptor technologies.

      And what about use of Javassist or CGLIB or byte-code instrumentation in Weld?

      And what affect does proxying have on performance?