1 Reply Latest reply on Feb 10, 2004 6:26 AM by vladeto

    ejbRemove() problem

    vladeto

      Hello all,

      I have the following problem:

      In my bean I have:

      public void ejbRemove() throws RemoveException
      {
      }

      and in the Home interface:

      public void remove() throws RemoveException;


      But when deploying the bean on JBoss I got the following:

      WARNING: Each local home method must match a method defined in the entity bean class.

      Thanks for the help,
      vladeto

        • 1. Re: ejbRemove() problem
          vladeto

          Solution:

          In the bean calss:

          /**
          * @ejb.interface-method
          */
          public void ejbRemove() throws RemoveException
          {
          }

          This generated the ejbRemove() in the remote interface and remove() in home interface.

          Bye