JBoss releases library for Aspect Oriented Programming

1

JBoss just released JBoss AOP 1.0 Final production release. See the announcement on The Server Side – JBoss AOP 1.0. It has a plugin for Eclipse but can be used in any programming environment with JDK 1.4 or 5.0. It allows Java 5.0 Style Annotations in a JDK 1.4 environment – as it can “precompile” those (see Annotation Compiler).

For software, tutorials and documentation, see the JBoss AOP Homepage.

From the homepage the following quotation:

JBoss AOP is a 100% Pure Java aspected oriented framework usuable in any programming environment or tightly integrated with our application server. Aspects allow you to more easily modularize your code base when regular object oriented programming just doesn’t fit the bill. It can provide a cleaner separation from application logic and system code. It provides a great way to expose integration points into your software. Combined with JDK 1.5 Annotations, it also is a great way to expand the Java language in a clean pluggable way rather than using annotations solely for code generation. Check out our User Guide linked below as it described in detail why you’d want to use aspects.

JBoss AOP is not only a framework, but a prepackaged set of aspects that are applied via annotations, pointcut expressions, or dynamically at runtime. Some of these include caching, asynchronous communication, transactions, security, remoting, and many many more.

JBoss AOP is now integrated with Eclipse. Check out the animated demo.

For an introduction to Aspect Oriented Programming, try out this section from the user guide

Currently JBoss’s AOP is not integrated with JDeveloper. However, that merely means that you do not have visual editors to manipulate the XML file that describes the pointcuts nor the views that quickly tell you which methods have been ‘annotated’ or ‘intercepted’ – which is a pity, but not crucial. You can simply install the JBoss AOP libraries and get going from within JDeveloper as well!

Share.

About Author

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director for Fusion Middleware. Consultant, trainer and instructor on diverse areas including Oracle Database (SQL & PLSQL), Service Oriented Architecture, BPM, ADF, Java in various shapes and forms and many other things. Author of the Oracle Press book: Oracle SOA Suite 11g Handbook. Frequent presenter on conferences such as JavaOne, Oracle OpenWorld, ODTUG Kaleidoscope, Devoxx and OBUG. Presenter for Oracle University Celebrity specials.

1 Comment

  1. Pingback: Jessica M.