int groupid = 0;
try {
ContactFacade remote = cfh.create();
remote.setDataSource(dataSource);
if (group.getGroupID() < 1) {
groupid = remote.createGroup(individualId, groupVO);
} else {
remote.updateGroup(individualId, groupVO);
}
} catch (Exception e) {
logger.error("[saveGroup] Exception thrown.", e);