Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
accessing bean from a jbpm process Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X