Hi All Anybody please clarify this doubt .
Juan Pablo Lorandi , your valueable and precious advise can make my doubt clear..... Senario is A stateful session bean implements SessionSynchronization. If a client invoked a transactional method on the bean, the method is in transaction ready state now if the client invoked another transactional method whose deployment descriptor transaction attribute is different from that of the first method then there wil be error thrown as EJB 2.0 Specs says. Is that correct ??? Is it due to the fact that bean is implementing the SessionSynchronization and the container has issued afterBegin call , that's why or this statement is true if the bean is not implementing this interface. >From the EJB Specs Section 7.6 STATEFUL Session Bean State Diagram " Session bean methods invoked by the client in this transaction can now be delegated to the bean instance. An error occurs if a client attempts to invoke a method on the session object and the deployment descriptor for the method requires that the container invoke the method in a different transaction context than the one with which the instance is currently associated or in an unspecified transaction context. " Thanks Hemant -----------------------Disclaimer------------------------ The views of the author may not necessarily reflect those of the Company. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to IT Solutions (India) Pvt. Ltd. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. ------------------------Disclaimer------------------------ =========================================================================== 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".
