[
https://issues.apache.org/jira/browse/STANBOL-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146991#comment-13146991
]
Enrico Daga edited comment on STANBOL-343 at 11/9/11 12:40 PM:
---------------------------------------------------------------
As next step we need to refactor the ReasoningServiceExecutor class in the web
module, in order to prepare it to be an implementation of Callable to be given
to the JobManager:
* Remove references to JAX-RS types from ReasoningServiceExecutor (decoupling
from JAX-RS Resource)
* Create two new types:
** ReasoningServiceResult, to be processed by the JAX-RS resource. In
perspective this would be the outcome of the job
(Callable<ReasoningServiceResult>)
** ResponseTaskBuilder, this class would prepare the Response object, used by
the ReasoningServiceTaskResource with data from a ReasoningServiceResult.
was (Author: enridaga):
As first step we need to refactor the ReasoningServiceExecutor class in the
web module, in order to prepare it to be an implementation of Callable to be
given to the JobManager:
* Remove references to JAX-RS types from ReasoningServiceExecutor (decoupling
from JAX-RS Resource)
* Create two new types:
** ReasoningServiceResult, to be processed by the JAX-RS resource. In
perspective this would be the outcome of the job
(Callable<ReasoningServiceResult>)
** ResponseTaskBuilder, this class would prepare the Response object, used by
the ReasoningServiceTaskResource with data from a ReasoningServiceResult.
> Long term operations (Jobs) for reasoning services
> --------------------------------------------------
>
> Key: STANBOL-343
> URL: https://issues.apache.org/jira/browse/STANBOL-343
> Project: Stanbol
> Issue Type: Improvement
> Components: Reasoners
> Reporter: Enrico Daga
> Assignee: Enrico Daga
>
> The current implementation of the reasoning services execute the operation in
> real time.
> Reasoning tasks are often time consuming, and in some cases cannot be
> completed in the lifetime of a http request.
> For this reason, there is the need of a way of running reasoning operations
> in the background, and a web service to ping the running operation and
> retrieve the result, when ready.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira