0 Replies Latest reply on May 12, 2003 7:49 PM by Eric Chow

    EJB inheritance problem

    Eric Chow Apprentice


      How can I design the EJB as the following issues:


      There is a super class "ItemBean"

      The subclasses : BookItemBean, CDItemBean, etc.

      In normal JavaBean, I can define as:

      class BookItemBean extends ItemBean
      class CDItemBean extends ItemBean

      ItemBean itemBook = new BookItemBean();
      ItemBean itemCD = new CDItemBean();

      But how can I use EJB with CMP to design the above relations.

      Best regards,