[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Craig Walls wrote:Yeah...Spring AOP covers most of the AOP needs you'll ever have. But AspectJ is certainly more powerful in some areas.
The cool thing about Roo's ITDs is that they are compile-time aspects. By the time the app is wrapped up in a WAR file, AspectJ's job is done and isn't necessary at runtime.
Craig Walls wrote:For example: Auditing is has nothing to do with transferring money from one account to another. But it needs to happen when that money is transferred. Do you put the auditing functionality directly in the transfer method? Or would you extract it into an aspect?
SCJP 1.5, SCEA, ICED (287,484,486)
Anil Vupputuri wrote:Can we create such a Auditing Aspect in Spring using Roo?
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Craig Walls wrote:
Anil Vupputuri wrote:Can we create such a Auditing Aspect in Spring using Roo?
You can certainly create an auditing aspect in Spring. Using Roo? There's nothing in Roo (yet) that adds such a thing automatically. So, you can build you app in Roo, but then to get the auditing aspect, you'll have to add it yourself.
SCJP 1.5, SCEA, ICED (287,484,486)
Don't get me started about those stupid light bulbs. |