posted 15 years ago
Support Attribute two features-
1• If the client calls with a transaction context, the container performs the same steps as described
in the REQUIRED case.
• If the client calls without a transaction context, the container performs the same steps as
described in the NOT_SUPPORTED case
Due to second reason, the Support Attribute cannot be used.
Never Attribute-
3) it beans the starting MDB code can never have transaction. So even if MDB lifecycle method's want to start a new transaction, the def. of NEVER attribute will not allow it.
Due to this reason, the Never attribute cannot be used.
whereas NotSupported and Required has no such restrictions.
Atcually my answer is not too clear.
I think Reza or other's can give clear answer.