I was looking at the maven reports and they're pretty interesting. One thing I found interesting was the report that shows duplications. There is a large number of classes that only differ in which class they extend. One large grouping of that is in the nested taglib classes. In the example below you'll see that the only differences are the import line and extends clause. It seems there should be some design pattern to where all the duplicate code could be refactored into one location. Of course, I couldn't think of one right away myself. Would the IoC stuff that's been mentioned help here for instance?
Yes, I noticed the same thing. I believe AOP might address this. I believe Struts could benefit from using AspectJ.
and collecting solid use cases would be a good starting point.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
