java - User Session Management with Spring (Business and Trasaction Management) -


in application

the web front end done using struts , spring business , transaction management.

now , implementing logging in business logic side (beans).

the log should happen such that, every method in service, should have logged in user details

one approach sending user object every method in service, when been called servlet

but dirty.

does spring/ struts2-spring support other way this.??

use spring aop logging (accompanied logging framework), struts2 has nothing spring aop. spring aop can work on own regardless if web application or swing application minimal setup.


Comments