In the EJB code I've seen, business methods are declared in the remote
interface as throwing a RemoteException.  The corresponding mehtod in the bean
class is not declared to throw a RemoteException.  My question has two parts.
FIrst, why is it that some business methods in the remote interface seem to be
declared as throwing a RemoteException but others are not?  Second, why would I
get an error running the RI Verifier  that says that a method declared like
this:

   public String createAccount(String name) throws RemoteException
   throws the RemoteException improperly?  Since this is just a declaration, and
it compiles okay, how can it be wrong, since the implementation is done in the
EJBOBject class made by the container?  Thanks.


   Ken

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to