ce in jakarta.annotation"><code>Resource</code></a> annotation,</p>

 <pre>
 @ManagedScheduledExecutorDefinition(
     name = "java:comp/concurrent/MyScheduledExecutor",
     qualifiers = MyQualifier.class,
     context = "java:comp/concurrent/MyScheduledExecutorContext",
     hungTaskThreshold = 30000,
     maxAsync = 3)
 @ContextServiceDefinition(
     name = "java:comp/concurrent/MyScheduledExecutorContext",
     propagated = APPLICATION)
 public class MyServlet extends HttpServlet {
     @Inject
     @M