Integration with JEE :: CDI :: Script-Task-CDI-JSF Example

 

Environment

  • Wildfly 10.1.0.Final
  • jBPM 7.1.0.Final

Process

KJAR

See source code: script-task-cdi-jsf-kjar

script-task-cdi-jsf Project Structure

InitializerBean.java

 

CDI Producers
AppScopedProducers.java

RequestScopedProducers.java

 

ProcessBean.java

 

Launch

standalone.bat -c standalone-full.xml
http://localhost:8080/script-task-cdi-jsf/index.xhtml

 

Download

script-task-cdi-jsf.zip

 

One thought on “Integration with JEE :: CDI :: Script-Task-CDI-JSF Example

  1. Dmitry

    December 29, 2017 at 4:37pm

    It’s very strange, but after update jBPM to 7.5.0.Final deployment fails with
    java.lang.IllegalArgumentException: WFLYEE0040: A component named ‘DeploymentSynchronizerCDInvoker’ is already defined in this module

    Permalink  ⋅ Reply
    • Author

      Zbigniew Ciok

      January 3, 2018 at 7:38pm

      Thank you for info.
      I’ll upgrade this example to v. 7.5.0.Finall.

      Zbigniew

      Permalink  ⋅ Reply
      • Dmitry

        January 9, 2018 at 9:20am

        Thanks Zbigniew. It would be nice to place project on gitgub to track sample and jBPM dependence versions.

Leave a Reply