Hello xdocleet-user,

I have converted a project from ejbdoclet to xdoclet, and now I am
running into these problems:
I have a base class for all my beans that resides in a jar file and
contains stubs for all functions that are not always needed.
They all throw EJBException and RemoteException:
        public void ejbActivate() throws EJBException, RemoteException {}
        public void ejbPassivate() throws EJBException, RemoteException {}
        public void ejbLoad() throws EJBException, RemoteException {}
        public void ejbStore() throws EJBException, RemoteException {}

Now XDoclet generates the *CMP classes, and adds no throws clause to
the method it overrides:

   public void ejbLoad()
   {
      super.ejbLoad();

      dirty = false;
      dataHolder = null;
   }

   public void ejbStore()
   {
      super.ejbStore();


      dirty = false;
   }

   public void ejbActivate()
   {
      super.ejbActivate();
   }

   public void ejbPassivate()
   {
      super.ejbPassivate();
      dataHolder = null;
   }

This used to work with ejbdoclet 1.2.

Next thing I tried was generating deployment descriptors for weblogic,
and xdoclet complains about the missing query element in my finder
tags, which I cant understand because I use ejbspec=1.1. Or does
weblogic always need a finder query? (I have only simple finders)

APart from that xdoclet looks really impressive, and has really lots
of new features compared to ejbdoclet.

-- 
Best regards,
 Christoph                          mailto:[EMAIL PROTECTED]


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to