Results 1 to 2 of 2

Thread: accessing bean from a jbpm process

  1. #1

    Question accessing bean from a jbpm process

    Hi all,
    I'm trying to design a process that accesses a spring bean to get some input.
    There is a way to do this?

    actually I have an action handler binded on node leave and i'm searching a way to access the spring context

    help needed

    regards

  2. #2
    Join Date
    May 2009
    Posts
    3

    Default need guidance

    We have the same issue.

    In our case, we run our web app under Jetty, but jbpm flow runs under JBoss.

    In our jbpm flow, we invoke a custom ActionHandler that needs access to the service layer beans.

    The solution we can think of is:
    1. deploy spring applicationContext files and service-layer jars with the process flow to JBoss
    2. create a static application context inside the handler
    3. load application context first thing in the execute method

    Is there a better way to do this?

    We would've not used Jboss server at all, but we couldn't figure out how to run jbpm_console under Jetty (couldn't configure the authentication realms)

    Any advice would be great!

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •