TicketLocal ticketRemote = (TicketLocal) ticketHome.create();
ticketRemote.setDataSource(this.dataSource);
// Used for getting the Default Owner ID.
AppSettingsLocalHome appHome=(AppSettingsLocalHome)ic.lookup("local/AppSettings");
AppSettingsLocal appRemote=(AppSettingsLocal)appHome.create();
appRemote.setDataSource(this.dataSource);
String strAssignedID = appRemote.getApplicationSettings("DEFAULTOWNER");
appRemote = null;
appHome = null;
// Used to get the Entity information when passing the EmailAddress
ContactHelperLocalHome contactHelperHome = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");