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