Not at all. I think it is perfectly valid and preferable to put
logic like that in Entity beans.

Frank Sauer
The technical Resource Connection
Tampa, FL
http://www.trcinc.com


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Roth
> Sent: Friday, February 04, 2000 9:58 AM
> To: [EMAIL PROTECTED]
> Subject: Entity vs. Session for Business Logic
>
>
> We're trying to identify the appropriate location in an EJB design for
> placing lower-level business logic.
>
> Reading various books and specs (J2EE) often leaves the
> impression that
> business logic goes in Session beans and Entity beans are for
> persistence
> only.
>
> For high-level business logic affecting multiple persistence
> tables, I can
> see this point.
>
> However, what about for business logic tied directly to a
> single table?  For
> example, a PurchaseOrder Entity bean might expose a number of business
> methods.
>
> Are there any technical reasons why a Session bean would be
> preferable in
> this case?  (BTW-- we're using BMP for the Entity beans)
>
> Thanks!
> -Steve Roth, [EMAIL PROTECTED]
>
> ==============================================================
> =============
> 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".

Reply via email to