Load Time Weaving with Spring, AspectJ, and Tomcat
I’m currently working on a project that has given me the lovely opportunity to revisit the holy hell that is Tomcat. It’s fine and all, but it can be a real bitch to you. So I have a fine mix of JPA 2 (via EclipseLink 2.0.0), Spring 3.0.0, and AspectJ 1.6.6 running on Tomcat 6.0.20. I have been trying to get persisted HttpSessions to autowire with AspectJ injecting Spring beans back into the JSF beans (also managed by Spring) when the sessions were deserialized. Things look kind of like this…


