Hi All,

I have few entity Beans which correspond to DB records .

I have few rules to be executed before executing every Insert, Delete and
Update statement.

for eg. For Update :

Read record from Db
Do something
Create "Update SQL stmt" with new values
Read the same record again
Do something
execute Update


Can I implement these rules in a bean,let's say "RulesBean", so that before
executing any SQL statment, every bean will execute methods of this RulesBean ?

But the problem here is certain SQL statements have to be executed as part of
the Rules.
It's not just business logic.


Any Suggestions ?
Manisha

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