validation « AOP « Spring Q&A





1. Business rules and validation with Spring AOP, Specification pattern and Strategy pattern    stackoverflow.com

I really have trouble with validation and business rules programming(design) within Spring application standard architecture (controller -> service -> DAO...). Bit by bit, service layer classes are becoming overloaded with ugly if-s, ...

2. aspect parameter validation    forum.springsource.org

aspect parameter validation Hi, Im doing a POC using Aspectj. class BaseInfo{..} class UserInfo extends BaseInfo{..} class UserService { public void getUser(UserInfo userInfo){..} public void deleteUser(String userId){..} } I've defined an ...

3. Compile-time validation of @AspectJ annotations?    forum.springsource.org

With Spring AOP, pointcut syntax, types, etc. are only validated at runtime via IllegalArgumentException. The aspectj compiler obviously validates at compile time. There is even fairly good GUI integration with Eclipse ...

4. Validation using AOP ?    forum.springsource.org

Validation using AOP ? Hello If I have a Guide interface using a setName(String name) method, and a POJO implementing it, I'm wondering if AOP is a good solution to handle ...

5. Validating annotation/pointcut    forum.springsource.org

Validating annotation/pointcut I'm using AOP for auditing changes, it's working great. If you annotate a method with @Audit (my own annotation) and the first argument implements "Auditable" it gets recorded. The ...

6. AOP: validate Method arguments    forum.springsource.org

7. Adding logic validation aspect best practice.    forum.springsource.org

Adding logic validation aspect best practice. Hi. I am not used to practicing AOP, but anyway can someone tell me which one is the best practice: I want to use this ...

8. [Spring 2.0] AOP not working when disabling XML schema validation?    forum.springsource.org

[Spring 2.0] AOP not working when disabling XML schema validation? First of all, I know the version I'm using is quite old, an upgrade is planned but can't be done at ...