Adam Bien's Weblog

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: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.

Newsletter: airhacksnews.com

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 #

The link in "The free Java Magazine article Who Needs Aspect Oriented Programming?" Is not valid. Could you please fix it

Posted by Alexandr on July 20, 2016 at 10:55 AM CEST #

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