0 Replies Latest reply on Oct 24, 2003 10:12 AM by Urs Wagner

    CMR in local and remote home

    Urs Wagner Novice

      Helllo

      I read the cmp-example doc but there the implementation of local home is missing.
      I think the key of CMR is the create function

      GangerHome {

      Gangster create(
      Integer id,
      String name,
      String nickName,
      int badness,
      Organization org) throws CreateException;

      }
      But if I have addionaly a OrganizationLocalHome what is then correct interface declaration?

      Simply replacing Organization through OrganizationLocal
      does not work.

      interface OrganizationLocalHome {

      Gangster create(
      Integer id,
      String name,
      String nickName,
      int badness,
      OrganizationLocal org) throws CreateException;

      }