I need to configure a dynamic timeout to a method on my stateless session bean. Timeout time parameter needs to be configurable and read from the data base.

Timeouts for container managed transaction are set through ejb-jar.xml but it is pre-configured. Is there a way to read this timeout value through implementation and dynamically set it to the transaction ?