ContactHelperLocal contactHelperRemote = contactHelperHome.create();
contactHelperRemote.setDataSource(this.dataSource);
// Setting the Record Permission for newly Created record.
AuthorizationLocalHome authHome=(AuthorizationLocalHome)ic.lookup("local/Authorization");
AuthorizationLocal authRemote=(AuthorizationLocal)authHome.create();
authRemote.setDataSource(this.dataSource);
// get the Default Error Message Template for the Support replying emails
EmailSettingsLocalHome emailSettingsHome=(EmailSettingsLocalHome)ic.lookup("local/EmailSettings");
EmailSettingsLocal emailSettingsRemote=(EmailSettingsLocal)emailSettingsHome.create();