public class BeanClass implements javax.ejb.SessionBean { public String ejbPostCreate () { //instantiation of bean
return "example primary key";
} //other methods that must implement the interface
}
Lösung
Deklarieren Sie für die Methode 'ejbPostCreate()' einen Rückgabetyp void.
public class BeanClass implements javax.ejb.SessionBean { public void ejbPostCreate () { //instantiation of bean
} //other methods that must implement the interface
}