I am using Together (a modeling tool) to create an object model for a b2c
website.   The website will be implemented with EJB's.

I would like to start with the ProductSaleManagement model(See Java Modeling
in Color with UML).  It uses the 4 archetypes: 1) moment-interval  2) role
3) description 4) party place thing
Has anyone tried to map this uml modeling methodology to EJB?
I think there is a dichotomy between Peter Coad's archetypes and EJB.  They
may be mutually exclusive.

My understanding of EJB
1)  Put business logic in session beans.  Session beans operate on entity
beans.
2)  Persistent objects are entity beans.  They do not contain very much biz
logic.  They are kind of dumb!

Peter Coad's modeling examples of moment-interval (e.g. SaleToCustomer)
contain numerous business logic method declarations.  Because of all the
intelligence of this object, it would be modeled as a session bean in EJB.
However,  a moment interval such as a SaleToCustomer is something we would
want to persist to a database, thus it would be an Entity bean.  So what is
a SaleToCustomer, an very smart entity bean?

I am confused on how to merge these two design methodologies.
Thanks,
Phillip

Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA  15212
(412) 553-4900  (phone)  (412) 553-2484 (fax)

===========================================================================
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