{
int result = 1;
try {
InitialContext ic = CVUtility.getInitialContext();
EventsLocalHome home = (EventsLocalHome)ic.lookup("local/Events");
EventsLocal local = home.create();
local.setDataSource(this.dataSource);
result = local.deleteEventRegister(mapEvent);
} catch (CreateException ce) {
throw new EJBException(ce);
} catch (NamingException re) {