batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Resolved] (BATCHEE-2) make the thread creation an SPI
Date Sat, 01 Feb 2014 20:36:08 GMT


Romain Manni-Bucau resolved BATCHEE-2.

    Resolution: Fixed

resolving since it seems it is built-in, please reopen and detail the need if I missed sthg

> make the thread creation an SPI 
> --------------------------------
>                 Key: BATCHEE-2
>                 URL:
>             Project: BatchEE
>          Issue Type: Bug
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
> currently Steps will be created via new Thread. This means that any Java EE ThreadLocal
stuff is _not_ set up properly. To support various kind of environments (e.g. JavaEE / JavaSE
/ Servlets) we need pluggable strategies for creating new threads (and probably a few more).
> In JavaEE we could e.g. leverage wrapping via @Asynchronous. Or ee-concurrency-utils
(JSR-236) once the spec got a MR out (this spec is currently totally bollocks).
> The goal is to have EJBs, Resources, CDI etc set up correctly and available in Batch
Steps if we run in a respective environment.
> For EE6 and EE7 containers thats self explaining. And even in JavaSE it would be usable
if one e.g. uses openejb-embedded for his batches.

This message was sent by Atlassian JIRA

View raw message