On Wed, 23 Aug 2000, Adena Galinsky wrote:
> Is it standard to duplicate comments in the remote/home interfaces in the
> bean class? Or should the comments in the interfaces be summary versions of
> the fuller version in the bean class? Or should the interfaces contain no
> method specific comments?
I tend to put comments in the interfaces that are suitable for a client of the
bean. In the actual implementation class, I only add comments that are
implementation-specific.
I also create an extra interface that both the bean's remote interface and the
bean class implement. That way, I get some additional compile-time type safety,
rather than waiting for the deploy tool to tell me that I forgot a method or
got one of the parameters wrong. (I picked this tip up from someone else, who I
think picked it up from the Toy Train book. ;-)
hope that helps,
david
--
David Sims [EMAIL PROTECTED]
Sims Computing, Inc. www.simscomputing.com
===========================================================================
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".