← Prev in month ← Prev in thread
Next in thread → Next in month →

NEW ISSUE: Misleading statement about lifetime of stateful callbacks

From
Simon Nash <>
Date
2008-09-15T20:40:54+00:00
ID
Thread
NEW ISSUE: Misleading statement about lifetime of stateful callbacks
TARGET: Java Common Annotations and APIs, WD 04, section 6.6.1

DESCRIPTION: Misleading statement about lifetime of stateful callbacks

In section 6.7.1, line 433, there is a statement that for a service
that is conversation scoped, the callback will still be available
when the backend service sends back its asynchronous response.

The unconditional "will" in the above statement is not correct, as
the conversation may have ended by the time the backend response
is sent, and this would have released the conversational instance
and its injected callback.

PROPOSAL:

Change the sentence starting on line 432 to "If the example service
is conversation scoped and the conversation has not ended, the
callback will still be available when the backend service sends back
its asynchronous response."
← Prev in month ← Prev in thread
Next in thread → Next in month →