aop

Where can I find a good tutorial about Java AOP that is proxy based?

I 'm currently investigating the different styles of AOP in Java and I started with AspectJ. I try to get a good view on the different styles: weaver proxy any others Do you know a good tutorial or technology article about the different frameworks and techniques?...

What's your "best practice" for the first Java EE Spring project?

I'm currently trying to get into the Java EE development with the Spring framework. As I'm new to Spring, it is hard to imaging how a good running project should start off. Do you have any best practices, tipps or major DO NOTs for a starter? How did you start with Spring - big project or small tutorial-like applications? Which technolo...

Do you use AOP (Aspect Oriented Programming) in production software?

AOP is an interesting programming paradigm in my opinion. However, there haven't been discussions about it yet here on stackoverflow (at least I couldn't find them). What do you think about it in general? Do you use AOP in your projects? Or do you think it's rather a niche technology that won't be around for a long time or won't make it ...

How do I intercept a method call in C#?

For a given class I would like to have tracing functionality i.e. I would like to log every method call (method signature and actual parameter values) and every method exit (just the method signature). How do I accomplish this assuming that: I don't want to use any 3rd party AOP libraries for C#, I don't want to add duplicate co...

Applying AOP

I've been using some basic AOP style solutions for cross-cutting concerns like security, logging, validation, etc. My solution has envolved around Castle Windsor and DynamicProxy. I've gone down this route because I can apply everything using a Boo based DSL and keep my code clean of Attributes. I was told at the weekend to have a loo...

Good pattern or framework for adding auditing to an existing app?

I have an existing J2EE enterprise application to which I need to add auditing, i.e. be able to record CRUD operations on several important domain types (Employee, AdministratorRights, etc.). The application has a standard n-tier architecture: Web interface Business operations encapsulated within a mixture of stateless session beans a...

PostSharp - il weaving - thoughts

I am considering using Postsharp framework to ease the burden of application method logging. It basically allows me to adorn methods with logging attribute and at compile time injects the logging code needed into the il. I like this solution as it keeps the noise out of the deign time code environment. Any thoughts, experiences or better...

Windsor Interceptors AOP & Caching

I'm considering using Castle Windsor's Interceptors to cache data for helping scale an asp.net site. Does anyone have any thoughts/experience with doing this? Minor clarification: My intention was to use Windsor to intercept 'expensive' calls and delegate to MemCacheD or Velocity (or another distributed cache) for the caching itself. ...

How to define / configure priority for multiple aspects using Spring AOP (or AspectJ)

Hi, I have been able to define multiple aspects (one is @Before and another is @Around) using Spring AOP (combined with AspectJ annotations) over a business service class. Currently they are getting called one by one (in sequence). However I would like to know how the priority of calling the aspects can be defined and where. Please gu...

How does AOP work in Drupal?

How does AOP ( Aspect Oriented Programming ) work in Drupal. I have learned about AOP in terms of using it for logging and security but how does it apply to Druoal? ...

What are the best/most popular ways to do aspect-oriented programming (AOP) in C#/.Net?

What are the best/most popular ways to do aspect-oriented programming (AOP) in C#/.Net? ...

Errors in Aspect Oriented Programming with Policy Injection

When using Aspect Oriented Programming with Policy injection, how do you deal with policy errors gracefully in your design? In Aspect Oriented Programming the objects should be unconcerned with how a particular policy is configured, but a particular policy may throw particular errors. What's the most graceful design to deal with that? ...

AOP support in Delphi

Hi, Is it possible to do Aspect Oriented Programming in Delphi? I would be interested in native support as well as third party solutions. I don't have a specific problem I want to solve with AOP, but am simply interested in studying AOP. Thanks, Miel Bronneberg. ...

Which is the simplest and least dependent AOP framework in Java?

I want to use an AOP framework, but I have two constraints. Any framework that I choose Must be fairly independent. I plan to use this in a legacy code base, and hence cannot upgrade prospective dependencies like commons-logging-XXX.jar to commons-logging-newest.jar. Must be fairly well documented, should not be too complex to unders...

Aspect Oriented Programming vs. Object-Oriented Programming

Like most developers here and in the entire world, I have been developing software systems using object-oriented programming (OOP) techniques for many years. So when I read that aspect-oriented programming (AOP) addresses many of the problems that traditional OOP doesn't solve completely or directly, I pause and think, it is real? I hav...

Castle, AOP and Logging in .NET

Are there any tutorials or sample programs out there on using AOP, Castle, and logging in a .Net application? I have found pieces out there but I am looking for something more to help me form a more complete picture. Thanks, -Brian ...

What is aspect-oriented programming?

I understand object oriented programming, and have been writing OO programs for a long time. People seem to talk about aspect-oriented programming, but I've never really learned what it is or how to use it. What is the basic paradigm? This question is related, but doesn't quite ask it: Aspect-Oriented Programming vs. Object Oriented ...

Is SPRING.Net the best framework for Aspect Oriented Programming(AOP)?

Please give me the advantages and disadvantages of using the particular framework. Can give me examples of successes where you have used AOP in you .net applications? ...

PostSharp aspect for property setters, calling generic method

We have a base object we use for some MVC-like system, where each property in a descendant is written like this: public String FirstName { get { return GetProperty<String>("FirstName", ref _FirstName); } set { SetProperty<String>("FirstName", ref _FirstName, value); } } This is done both for debugging purposes and for notifica...

How to get started on Aspect Oriented Programming on the .Net platform?

Please give me some insight on how to get the best start on applying Aspect Oriented Programming to my C#.net applications? ...