Przykład

public class BeanClass implements javax.ejb.EntityBean {
public void ejbCreate () {
//..
}
public void ejbCreate(int a){
//..
}

//brak odpowiadającej metody ejbPostCreate()
//inne metody, które muszą implementować interfejs
}

Rozwiązanie
Zawsze implementuj odpowiadającą metodę ejbPostCreate() dla każdej metody ejbCreate().


public class BeanClass implements javax.ejb.EntityBean {
public void ejbCreate () {
//..
}
public void ejbCreate(int a){
//..
}
public void ejbPostCreate () {
//..
}
public void ejbPostCreate (int a) {
//..
}
//inne metody, które muszą implementować interfejs
}