Adam Bien's Weblog

Thursday Mar 22, 2012

Who Needs Aspect Oriented Programming (AOP) in Java EE?

The free Java Magazine article Who Needs Aspect Oriented Programming? (in Java EE) focusses on Interceptors, Decorators and their configuration possibilities with XML, annotations and even CDI extensions. Working code included.

The article is free, but a registration is required. Feedback is, as always, highly appreciated!


NEW workshop: Microservices with Java EE 7 and Java 8, January 26th, 2015, Airport Munich

A book about rethinking Java EE Patterns

Comments:

Hi Adam,

First of all, I like your practical approach and follow your work. I'm reading your books with pleasure.

Now about interceptors. I'm using glassfish 311 open source and the oracle jdk6. I'm using maven 3 to build things.

When I'm using the 'new style' interceptors (@InterceptorBinding) and put them in separate jars which are used in a war then the interceptor is not always working.

If you're interested have a look at a bunch of test projects I created to proove my point here: https://github.com/thehpi/cdi

Maybe this is a known issue to you.

Posted by Hans Pikkemaat on March 29, 2012 at 03:06 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License