0 Replies Latest reply on Sep 23, 2004 6:06 AM by Puneet Jain

    Stateful and transactions

    Puneet Jain Newbie


      I am having a stateful bean having a transaction associated with that bean.It is having a lock on a row in a table.
      My questions are
      1. Where i can specify that the bean should be removed from the ejb container after a period of time. i have specified in standardjboss.xml file for the attribute max-bean-age, but it is not working , moreover if the container removes a stateful bean, if a bean is idle will the ejbRemove will be called?
      2. What will happen to the Transaction assicated with that bean.
      will it be commited,rollback?

      Puneet J.