Little fix, my getEjbReference() method looks like this now (because of @EJB annotation
defaults):
private EjbReference getEjbReference(EJB ejbAnnotation, Class<?> type)
{
String beanInterface = ejbAnnotation.beanInterface().getName();
if (java.lang.Object.class.getName().equals(beanInterface))
{
beanInterface = type.getName();
}
return new EjbReference(ejbAnnotation.beanName(), beanInterface,
ejbAnnotation.mappedName());
}
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228331#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...