Sun states several times within the EJB 1.1 specification that Enterprise
Beans are to be course-grained.  Sun recommends modeling say a Purchase
Order as an entity bean, but suggest using "helper" classes for the Purchase
Order's line items.  To quote the specification:

Section 9.1.2 of the EJB 1.1 Specification entitled "The Granularity of
entity beans," says:

"...a purchase order might be implemented as an entity bean, but the
individual line items on the purchase order should be implemented as helper
classes, not as entity beans.  An employee record might be implemented as an
entity bean, but the employee address and phone number should be implemented
as helper classes, not as entity beans."

So how should one implement these helper classes?

Thanks,

Nathan Phelps
solarc.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".

Reply via email to