Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] List of main users

In my daytime job, we have been using AspectJ for 2+ years now on a Java
Swing [Client/Server] call center application. We use it in the following
situations:


Architectural:
- Enforce that no System.out or System.err's are called in production code
- Enforce that no error or exception logging occurs outside of the aspects
that handle exceptions

Code:
- Implemented the template method for code where we did not want to change
the external interface.
- Implemented the proper removal of all property change listeners from all
Domain objects.  This actually helped us correct a memory leak in our
application.
- Implemented the initialization and retrieval of all cacheable data at
login.


Testing:
- For our performance testing, we needed to suppress/auto answer dialog
boxes so we put this in an aspect.  This is also used in our unit testing.
- Disabling of the RMI server we use to limit one running instance of our
app.
- Enabling error simulation for our data layer [JNI/JDBC/XML] to help with
unit testing.


And the standard stuff like:
- Performance monitoring
- Logging
- Exception handling

Overall, we have estimated that the aspects we have implemented so far have
reduced maintainable code by at least 10%.

Thanks,

Ron
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.


Back to the top