Hi! I try to find more information on EJB Timers, Exception handling and more, I look mostly at automatically created timers (using @Schedule and @Schedules).
Some question I have is: - I asume that a new transaction will start when the timeout method is called? Correct? - I also understand that I could annotate the method with @TransactionAttribute(REQUIRES or REQUIRES_NEW) but that will also always give me a new transaction, correct? - The calendarTimer I can create using the TimerService is the same type of timer that I can create using the @Schedule annotation, correct? - Is an intervalTimer internally just an calendarTimer? If not can I create such a timer using @Schedule? I know i can use e.g. @Schedule(minutes = "*/5") etc... - Can I automatically create a singleActionTimer automatically or is such a use case hard to grasp? - When using automatically created timers how are the container handling exceptions? Will the container retry? If so how many times and at what interval? Or will it simple retry at the next timeout? Regards Lars-Fredrik -- Med vänlig hälsning / Best regards Lars-Fredrik Smedberg STATEMENT OF CONFIDENTIALITY: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the address(es) and may contain confidential or privileged information. If you are not the intended recipient, please notify Lars-Fredrik Smedberg immediately at [email protected], and destroy all copies of this message and any attachments.
