Hello,
I am using a combination of Bean Managed Persistence and Data Access Objects
(Refer Data Access Object Patterns from "Core J2EE Design Patterns" ) in my
system
Whenever I deal with a single record I use the entity beans. This could be
information like viewCustomerInformation and updateCustomerInformation . The
bean managed persistence themselves call Data Access Objects in ejbLoad and
ejbStore.
If I have to delete (or update) a batch of records I would call the methods
of Data Access Object from the Session bean bypassing the entity beans.
The question is how would the information in the entity bean be persisted if
I would change the information in the database directly. I am also looking
for suggestions on whether this type of architecture is advisable.
Thanx a lot
Jeetendra Dassani
Lead Systems Engineer
Tata Infotech Limited
Tel: 8291261 X 2787
Email: [EMAIL PROTECTED]
[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".