this.compass = (Compass) Proxy.newProxyInstance(SpringCompassInvocationHandler.class.getClassLoader(),
new Class[]{InternalCompass.class}, new SpringCompassInvocationHandler(this.compass));
from LocalCompassBean solved the problem of missing javax.naming.namingexeption. please comment? or is there other proper way to do it since gae not whitelist that class?