grubbelWeblog of Jonas Bonér [jonas AT codehaus DOT org]Aspect hot deployment in practice: Implementing a JMX monitoring aspect- December 15, 2004 One of the new features in the AspectWerkz 2 architecture is the ability to deploy and undeploy aspects at runtime, e.g. to do "hot" deployment and undeployment. The implementation is based on HotSwap class redefinition and handles 'change sets' which ensures that the changes to each single join point is atomic. What this means in practice is that if you for example are deploying an aspect which has one before and one after advice, both advising the same join point (methodfield etc.) then..http://blogs.codehaus.org/people/jboner/archives/000913_aspect_hot_deployment_in_practice_... CGLIB proxies are doing AspectWerkz- December 13, 2004 The idea After implementing the AW Proxy extension to AspectWerkz I figured, why not hook into the most widely used proxy implementation out there: cglib and let AspectWerkz weave in the aspects that are around just before the proxy is returned to the user. The solution So, this is all that this cglib extension does: asks AspectWerkz if it has anything to say about the class that has just been proxied. If so, then let the AspectWerkz weaver do its job, e.g. weave in the aspects that are...http://blogs.codehaus.org/people/jboner/archives/000915_cglib_proxies_are_doing_aspectwerk... AWProxy: Proxy on steroids- December 8, 2004 Summary Proxies are an important piece in the J2EE puzzle. Since it offers a non-intrusive an more transparent way of weaving in adviceinterceptors. However, non of the current proxy implementations utilizes all the rich semantics of AOP (as defined by AspectJ), the expressiveness of a real pointcut pattern language and has the speed of statically compiled code. AW Proxy is here to try to narrow this gap. It makes use of the rich semantics for AOP in AspectWerkz and is very high-performant.http://blogs.codehaus.org/people/jboner/archives/000914_awproxy_proxy_on_steroids.html Off to Vietnam for two months- December 7, 2004 <p> I am travelling with with my wife and my one year old son in Vietnam for a couple of months. <p> It's been a pretty hectic fall so I am looking forward resting my mind for a while. Although I am pretty sure that travelling in Vietnam with a little kid is not all relaxing (but for sure interesting :-) ). <p> See you in a while. <p> Jonas <p>http://blogs.codehaus.org/people/jboner/archives/000903_off_to_vietnam_for_two_months.html Spring and AspectWerkz: A Happy Marriage v2- December 6, 2004 The AspectWerkz 2 architecture has been designed to be an Extensible Aspect Container, which can deploy and run arbitrary aspects. You can read more about the details in this article. In this article I will show you how you can make use of this container to run Spring AOP aspects more performant plus utilize the annotation-driven AOP in AspectWerkz along with its more expressive pointcut pattern language. In this article I am using Spring as an example but everything covered here...http://blogs.codehaus.org/people/jboner/archives/000909__spring_and_aspectwerkz_a_happy_ma... |