bem amigos, gostaria de saber se alguem sabe como chamar a fun�ao ejbRemove() de um entity bean bmp, pois em todos os lugares q leio sempre dizem o seguinte:
"Em nossa inteface home temos uma funcao create q se relaciona com as fun�oes ejbCreate e ejbPostCreate, e tb temos a funcao remove q se relaciona com a fun�ao ejbRemove" resumindo eh isso q dizem so q o problema eh, quando defino a fun�ao remove na minha classe home e ja tenho a funcao ejbRemove no meu bem na hora do deploy acontece o seguinte erro:
11:42:08,231 WARN [verifier] EJB spec violation:
Bean : ClienEJB
Method : public abstract void remove() throws RemoteException
Section: 12.2.9
Warning: Each home method must match a method defined in the entity bean class.
Bean : ClienEJB
Method : public abstract void remove() throws RemoteException
Section: 12.2.9
Warning: Each home method must match a method defined in the entity bean class.
o q naum entendo, vendo a documenta�ao do ejb, vi q a inteface ejbhome tem uma fun��o remove com parametro mais ao por parametro em remove() na hora do deploy da este erro:
11:48:53,834 WARN [verifier] EJB spec violation:
Bean : ClienEJB
Method : public abstract void remove(String) throws RemoteException
Section: 12.2.9
Warning: Each home method must match a method defined in the entity bean class.
Bean : ClienEJB
Method : public abstract void remove(String) throws RemoteException
Section: 12.2.9
Warning: Each home method must match a method defined in the entity bean class.
e se eu por parametro em ejbRemove nem compila.
por favor sera q alguem sabe o porque disso, sera q alguem sabe como usar essa fun�ao remove, ou eh o conteiner q a chama, ou sera q ejb eh complicado demais pra um ser humano usar?
obrigado
---------------------
Paulo Karol
UFC - Computa��o
---------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora!
