• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error on deploy

Aleks V. Pascoal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new in EJB, can someone explain me what is this error. It happens in deploy moment.
I'm using j2sdkee1.3.1
Error: Transaction attributes must be specified for the methods defined in the home interface [ br.com.aleks.testes.ejbs.autor.AutorHome ]. Method [ create ] has no transaction attribute defined within this bean [ AutorBean ].
Here is the methods of my bean:
public Integer ejbCreate(Integer id) {
return null;

public void ejbPostCreate(Integer id) {
public abstract void setId(Integer id);
public abstract Integer getId();
public abstract void setNome(String nome);
public abstract String getNome();
public abstract void setIdade(int idade);
public abstract int getIdade();
Here is my interface home:
public AutorRemote create(Integer id) throws RemoteException, CreateException;
public AutorRemote findByPrimaryKey(Integer pk) throws RemoteException, FinderException;
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic