You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Emily Jiang <em...@googlemail.com> on 2015/09/28 12:24:00 UTC

DeltaSpike scheduler module

I looked at the usage of DeltaSpike scheduler module, which depends on the
Container module. The Container module is mainly for Java SE environment.
How can I use the Scheduler module in Java EE environment? Do I have to
declare the dependencies the se impl jars (e.g. weld se) in my pom.xml as
the application servers won't have any se jars packaged?
-- 
Thanks
Emily
=================
Emily Jiang
ejiang@apache.org

Re: DeltaSpike scheduler module

Posted by "John D. Ament" <jo...@apache.org>.
Hi Emily,

The scheduler is dependent on the context control API only, not the
container control.  It is used only to enable starting additional contexts
during the bean method execution of the job.

You shouldn't need the SE JARs in this case.  You do need the CDI Ctrl impl
JAR for your container, e.g. the weld one here
https://github.com/apache/deltaspike/tree/master/deltaspike/cdictrl/impl-weld

John

On Mon, Sep 28, 2015 at 6:24 AM Emily Jiang <em...@googlemail.com>
wrote:

> I looked at the usage of DeltaSpike scheduler module, which depends on the
> Container module. The Container module is mainly for Java SE environment.
> How can I use the Scheduler module in Java EE environment? Do I have to
> declare the dependencies the se impl jars (e.g. weld se) in my pom.xml as
> the application servers won't have any se jars packaged?
> --
> Thanks
> Emily
> =================
> Emily Jiang
> ejiang@apache.org
>