HFEJB says: Message-driven beans can use only TWO attributes: Requires and NotSupportd
My question is: If it is possible to use NotSupportd then why can not it use Supports attribute. Any way it�s going to run with an �unspecified transaction context�
MDB doesn't have any clients, so it is not possible for a MDB to run in an caller's tranction context.Transaction attribute 'supports' says that either a bean can run in caller's transaction or unspecified transaction context.Hence declaring the 'supports' transaction attribute for MDB doesn't make any sense.
parthiban , If MDBS have tranx attribute of "Supports" where do u think the callers transactional context will be delegated as the mdbs get triggered by the arrival of a message on its waiting queue and hence the attribute is no meaningful .
Arun
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
a bit of art, as a gift, the permaculture playing cards