Esempio

public class BeanClass implements javax.ejb.SessionBean {
public String ejbCreate () {
//instantiation of bean

return "example primary key";
}

//other methods that must implement the interface
}

Soluzione
Dichiarare un tipo di ritorno void per il metodo ejbCreate()


public class BeanClass implements javax.ejb.SessionBean {
public void ejbCreate () {
//instantiation of bean
}

//other methods that must implement the interface
}