[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ews.eclipse.technology.aspectj] Re: Aspects and EJBs

Michael Smolyak wrote:
Hello,

I am trying to apply aspects to EJB classes to track the behavior of the code as it is executing in an app server. What I noticed is that some of the advices make it impossible to deploy the EJBs. I think, when I tried "execution" pointcut in my advice, JBoss complaind that my remote interface is in violation of EJB spec (unfortunately I do not have the detailes of the error). There was no obvious connection between the advice and the remote interface I could see.

I did not expect the aspect to make the code undeployable. Is it a common problem? What changes in the classcode may cause this behavior?

Thank you.

Michael


If you could post some details of your aspect, and the remote interface in question that might help in debugging this. I know that others have successfully used AspectJ with EJBs...