1:package is346; 2: 3:import javax.ejb.EJBObject; 4:import java.rmi.RemoteException; 5:import javax.ejb.EJBException; 6: 7:public interface ArtistSessionFacade 8: extends EJBObject { 9: 10: public Integer createArtist(ArtistDto artistDto) throws EJBException, 11: RemoteException; 12: public void removeArtist(Integer id) throws EJBException, RemoteException; 13: public void removeArtist(ArtistDto artistDto) throws EJBException, 14: RemoteException; 15: public void updateArtist(ArtistDto artistDto) throws EJBException, 16: RemoteException; 17: public void updateArtists(ArtistDto[] artistDtos) throws EJBException, 18: RemoteException; 19: public ArtistDto artistFindByPrimaryKey(Integer id) throws EJBException, 20: RemoteException; 21:}