Don't believe everthing you read in books! Opinions abound on this topic.
There is a ton of stuff in the archives on the granularity concept.
Also check out Craig Larman's article titled Enterprise JavaBeans 201: The
Aggregate Entity Pattern. There is a link to this at
http://www.gemstone.com/javasuccess/
-Chris.
> -----Original Message-----
> From: DaveFord [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 27, 2000 10:34 AM
> To: [EMAIL PROTECTED]
> Subject: PhoneNumber and Address as EJBs?
>
> Would you guys recommend making PhoneNumber and Address classes EJBs? How
> about LineItem of an invoice? I was reading Ed Roman's "Mastering
> EnterpriseBeans", and he made order line items and EJB. But I recall the
> EJB
> spec said not to model fine grained, dependent objects as EJBs. What your
> opinion?
>
> Dave Ford
>
> ==========================================================================
> =
> 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".
===========================================================================
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".