Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the gotchas when migrating from 1.x to 2.x?

gotchas migrating
0
Posted

What are the gotchas when migrating from 1.x to 2.x?

0

• Build and develop for Java 5 – To build on Java 5 you will have to put the ./lib/aspectwerkz-jdk5-2.0.jar on the classpath instead of ./lib/aspectwerkz-jdk14-2.0.jar. Same if you want to run it inside an IDE, or use an Ant script. This jar contains the Java 5 implementations of the AspectWerkz annotations. • No more perThread deployment model – We have removed the perThread deployment model for both aspects and mixins. It should have never been added in the first place. We are working on supporting the much more fine-grained and expressive percflow and percflowbelow. • Currently no perJVM deployment model for mixins – This will most likely be added for the 2.0 final release. • No more annotation proxies – This implementation has been replaced by a better one, in which you only have to write an interface that is very similar to a Java 5 annotation component. For details see this section. • New Mixin implementation – The Mixin implementation is completely new, both the way it is implem

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.