Hey Folks,
I have a couple of questions (I'm curious to your opinion(s))
1. Is it advisable (under any circumstances) that Entity beans should have
business methods or behavior? E.g. (fictitious example) A Customer entity
bean which has a Email Contact dependent object. Should the Customer bean
have the behavior to use the Contact object the contact the customer?
2. Dependent objects. Is it OK for these objects have behavior or business
methods? E.g.
Customer
|
/ \
/ \
Contact Address
Where Contact and Address are dependent objects (they live and die with the
customer entity). (IMHO These are pseudo entity beans since they represent
database tables) Is it OK for the Customer entity to have a business method
which exercises behavior in the Contact Object (contact a Customer)?
TIA,
Martin
===========================================================================
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".