> 
> Dain,
> 
> I am reading your stuff and I see that you use the invocation 
> chain to do
> "ADD_RELATION" on the bean you are working with.  Is this 
> what you were
> talking about the other day?

Yep.
 
> My question is do you really need to go through the container 
> chain, since
> it goes through the security and transactional interceptors 
> or could you do
> without.  Do you mean it this way (go through interceptors 
> again) or do you
> only need to invoke that method on the target bean.
> 
> marcf

Yes. Adding a bean to a relationship is the equivalent of calling a business
method on the bean, because adding a bean to a relationship can change a
foreign key on the bean, which is exactly equivalent to setting a cmp-field.
If I don't go through the interceptor chain, the bean is not added to the
transaction and then doesn't get stored.

-dain

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to