Hey all,

>From the errors below, what's wrong w/ my xdoclet
definitions? Like the first warning for example says
the local interface must extend from the
javax.ejb.EJBLocalObject interface. I have that. And
for the other errors, I don't have RemoteException
thrown in my defined methods.

Any help much appreciated.

--- xdoc snip ---

/**
 * @ejb.bean
 *      name="comp/RegisterDevice"
 *      type="Stateless"
 *      jndi-name="ejb/comp/RegisterDevice"
 *      primkey-field="id"
 *      display-name="Register Device Bean"
 *
 * @ejb.home
 *      extends="javax.ejb.EJBHome"
 *     
remote-class="com.myComp.management.ejb.session.RegisterDeviceHome"
 *      local-extends="javax.ejb.EJBLocalHome"
 *
 * @ejb.interface
 *      extends="javax.ejb.EJBObject"
 *     
remote-class="com.myComp.management.ejb.session.RegisterDevice"
 *      local-extends="javax.ejb.EJBLocalObject"
 */

--- server output ---

16:08:20,598 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Section: 7.10.7
Warning: The local interface must extend the
javax.ejb.EJBLocalObject interface. 
16:08:20,598 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract boolean registerDevice()
throws RemoteException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.
 
16:08:20,599 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract void remove() throws
RemoteException, RemoveException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.
 
16:08:20,601 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract Object getPrimaryKey() throws
RemoteException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.
 
16:08:20,601 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract EJBHome getEJBHome() throws
RemoteException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.
 
16:08:20,602 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract Handle getHandle() throws
RemoteException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.
 
16:08:20,603 WARN  [verifier] EJB spec violation:
Bean   : comp/RegisterDevice
Method : public abstract boolean
isIdentical(EJBObject) throws RemoteException
Section: 7.10.7
Warning: The methods in the local interface must not
include java.rmi.RemoteException in their throws
clause.



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to