On Wed, 2005-04-27 at 17:34, William Irving Zumwalt wrote:
> The 'session' class generated from my session bean is producing the
> following error and I don't understand why.
>
> Any help much appreciated.
>
> ---
> [javac]
> /home/projects/iis/build/gen/com/quest/iis/ejb/session/dbaseFetch/DBaseFetchSession.java:10:
>
> com.quest.iis.ejb.session.dbaseFetch.DBaseFetchSession is not abstract
> and does not override abstract method getPlatformId(java.lang.String) in
> com.quest.iis.ejb.session.dbaseFetch.DBaseFetchBean
> [javac] public class DBaseFetchSession
>
>
> --- DBaseFetch.java
>
> /**
> * @ejb.bean
> * name="iis/DBaseFetch"
> * display-name=DBaseFetchBean Session Bean"
> * type="Stateless"
> * view-type="Remote"
> * jndi-name="ejb/iis/DBaseFetch"
> *
> * @ejb.home
> * extends="javax.ejb.EJBHome"
> * remote-class="com.quest.iis.ejb.session.dbaseFetch.DBaseFetchHome"
> *
> * @ejb.interface
> * extends="javax.ejb.EJBHome"
> * remote-class="com.quest.iis.ejb.session.dbaseFetch.DBaseFetch"
> *
> * @ejb.dao
> * class="com.quest.iis.ejb.session.dbaseFetch.DBaseFetchDAO"
> * impl-class="com.quest.iis.ejb.dao.PostgresqlDBaseFetchDAO"
> *
> */
>
> public abstract class DBaseFetchBean
> implements SessionBean, IPlatforms, ICommons
> {
> ...
>
> /** @ejb.interface-method
> * view-type="remote"
> *
> * @dao.call
> */
>
> // note: this method is defined in my DAO class
>
> public abstract int getPlatformId(String pform) throws RemoteException;
If that "//" comment isn't there (e.g. move it below the function
declaration) does it make any difference? I have a feeling the javadoc
comments must *immediately* precede the class/method/etc. declarations
(asides from white space) in order to be recognised.
Andrew.
--
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user