public void delete(int userId, int ticketID) throws AuthorizationFailedException
{
try {
InitialContext ic = CVUtility.getInitialContext();
TicketLocalHome home = (TicketLocalHome) ic.lookup("local/Ticket");
TicketLocal remote = home.create();
remote.setDataSource(this.dataSource);
remote.deleteTicket(userId, ticketID);
} catch (CreateException ce) {
throw new EJBException(ce);
} catch (NamingException re) {
throw new EJBException(re);
}