Open glassfishrobot opened 11 years ago
Reported by mvatkina
wolfc said: This constitutes a non-backwards compatible change.
It must be accompanied by a feature to opt-into this feature, for example:
@Asynchronous(interruptable=true)
Note that we are talking about an EJB invocation, not a POJO invocation here. So really the semantics of j.u.l.Future are not applicable.
mvatkina said:
semantics of j.u.l.Future are not applicable
Can you provide more details?
The proposal is for the EJB container to mark the thread as interrupted, not stop the thread in any way.
And we are saying that an EJB is a POJO in 3.x so using Future.cancel(boolean mayInterruptIfRunning) is IMHO the way to request the interruption - see e.g. http://java.net/projects/ejb-spec/lists/users/archive/2012-10/message/9
mvatkina said: Not enough support
Was assigned to mvatkina
This issue was imported from java.net JIRA EJB_SPEC-73
See http://java.net/projects/ejb-spec/lists/jsr345-experts/archive/2012-09/message/7 and the follow-up discussion
Affected Versions
[3.2]