which doesn't work at all. Now, I understand it correct that's because we're dealing with interfaces here and it's not possible to place pointcuts in there.

So my second attemp is:

<bind pointcut="call(* $instanceof{javax.ejb.EJBObject}->*(..))" >

Which works ok if I enter some data as argument. So for instance "int" instead of "..". But if I put ".." I get the following error:

java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to figure out calledmethod of a caller pointcut
at org.jboss.aop.ClassAdvisor.resolveCallerMethodInfo(ClassAdvisor.java:1262)
at MyClient.<clinit>(HelloWorldClient.java)

I'm guessing that I either have too many wildcards in my pointcut expression for the system to handle or that there's some calls going on during initialisation that I am intercepting but don't want to. I tried solving that last problem by adding a "withincode" statement but the exception remains the same.