2 Replies Latest reply on Feb 13, 2002 11:44 PM by pankaj

    Can an Entity Bean Class be ABSTRACT in CMP?

    pankaj Newbie

      Hi Forum!
      I was trying this example in Ed Roman(Product-CMP). There the entity class is declared to be abstract(means the container will do the implementation by creating subclass of this Bean). Has anybody tried this particular example? Please help me.

      Pankaj

        • 1. Re: Can an Entity Bean Class be ABSTRACT in CMP?
          Armin Newbie

          You already posted this question in another forum. I understand that you would like to have you question answered, but posting the same question repeatedly is annoying. There are many reasons why people probably didn't answer your post the first time.

          Can an Entity Bean Class be ABSTRACT in CMP?
          Yes, with CMP2.0 the bean class must be abstract. You could easily find this answer yourself by looking in any book about EJB2.0. Also, the spec, which can be downloaded from java.sun.com, details the requirements for a bean.

          Has anybody tried this particular example?
          No, I have not. What do you want here? If you are having a problem post a description, some code and maybe a stack trace. Someone can help you with that.

          Sometimes your questions are not going to get answered. It's not because people did not read your post, but because it has been answered before, can be easily answered by reading a book, or there is not enough information in the post. The people here like to answer questions, but questions like these will usually get ignored.

          • 2. Re: Can an Entity Bean Class be ABSTRACT in CMP?
            pankaj Newbie

            Right buddy!
            Thanx for the mail. It was really an eye opener ;-)

            Actually I am a newbie still learning the tricks, so there will be a few mistakes on the way. But I'd definitely learn from them!

            Thanx again!

            Pankaj