Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AspectJ and Struts

Wes,

I just finished coding two applications that implemented a specialized Security Model using AspectJ.  This was done in J2EE and I used Struts as the front end to my EJBs.  

Are there any questions (General or Specific) that you and other readers on the list might have about using these two technologies?

One thing you have to remember to do is to make sure that your .war file has the aspectjrt.jar included or else make sure that your Web Server has access to it somewhere in its path.

I didn't bother trying to weave any of the code in the  JSPs and focussed instead on weaving the ActionForm sub-classes and EJBs.  

I used the Sun Java™ System Application Server Platform Edition 8 which you can download from the Sun website but it uses part of Tomcat for its Web Tier (both contain some of the same bugs :))

I didn't have too many problems getting AspectJ to work with either Struts or J2EE.  Most of my problems were actually with buggy code in tools that Sun ships with the server.

If I can be of assistance, feel free to contact me.


Jason Furlong
PG Student
Captain
Royal Military College of Canada



Back to the top