> -----Original Message-----
> The lite classes are "regular" Java classes.  In your case, you might
> define something like the following:
>
> 1) TeacherLite, a Java class with attributes for ID, name, and other
> basic info;
> 2) TeacherBean, a Java class which extends TeacherLite, implements
> EntityBean, and adds attributes such as a Vector of Credentials;
> 3) TeacherHome, the home interface for TeacherBean; and
> 4) Teacher, the remote interface for TeacherBean.

The only trick here is that your TeacherLite class/interface has to throw
RemoteExceptions, I think, even though it may not always be used in a
Remote-like context.  Just something to bear in mind.  And yes, this is more
ammunition for the fact that RemoteException should be a RuntimeException.
:-)

Cheers,
Laird

===========================================================================
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