Package com.centraview.contact.group

Examples of com.centraview.contact.group.GroupLocal.createGroup()


      InitialContext ic = CVUtility.getInitialContext();
      GroupLocalHome home = (GroupLocalHome)ic.lookup("local/Group");
      GroupLocal remote =  home.create();
      remote.setDataSource(dataSource);
      // Transaction not required cause even if adding member fails its ok.
      newGroupID = remote.createGroup(userId, groupDetail);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.createGroup] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return newGroupID;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.