Codice completo

package it.html.ejb.entity.cmp;

//Home interface for User

public interface UserHome extends javax.ejb.EJBHome{
  public static final String COMP_NAME="java:comp/env/ejb/User";
  public static final String JNDI_NAME="User";
  
  public it.html.ejb.entity.cmp.User create(java.lang.String login , java.lang.String nome , java.lang.String cognome , java.lang.String email , java.lang.String telefono)
    throws javax.ejb.CreateException,it.html.ejb.entity.cmp.LoginException,java.rmi.RemoteException;
  
  public java.util.Collection findAll()
    throws javax.ejb.FinderException,java.rmi.RemoteException;
  
  public it.html.ejb.entity.cmp.User findByPrimaryKey(java.lang.String pk)
    throws javax.ejb.FinderException,java.rmi.RemoteException;
}