-
Apr 11th, 2007, 01:07 PM
#11
I'm looking for the most suitable solution for our system.
How should this work with an interceptor approach?
I've also been thinking to use a 'business delegate' pattern, for translating these exceptions client-side, as we did in the past with the EJB systems.
Which approach do you find the 'cleanest'?
-
Apr 11th, 2007, 01:11 PM
#12
IMHO, AOP is probably the 'cleanest' way of doing this. I've used this a few times and I thought it felt like the best solution. There's very little to think about here, it's all done for you. As long as the AOP matches your beans, your working is done. If you are wanting to go with a pre Spring 2.0 approach you could still go this way but use something like BeanNameAutoProxyCreator or ProxyFactoryBean instead. It's the same principle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules