Tag Archives: AOP

Scala and AspectJ

I like Spring Framework‘s transactional support, especially the transactional aspects. The aspects, in combination with various implementations of the PlatformTransactionManagers and AspectJ’s load-time weaving let me use declarative transaction management. So, in Spring, I can have @Service @Transactional public class … Continue reading

Posted in Jan's Blog | Tagged , , , , | Leave a comment

Sub-millisecond Java

Imagine you had to implement (complex) code in Java that runs in sub-millisecond time. How will you know that you’ve succeeded? The traditional measurement such as this one won’t work. long before = System.currentTimeMillis(); doSomeWork(); long elapsed = System.currentTimeMillis() – … Continue reading

Posted in Jan's Blog | Tagged , , , | Leave a comment