• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jBPM best practices described in Seam in Action?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dan,
I maintain a library of jBPM processes (about 30 or so at this point in time), and I'm having a a tough time finding a list of best practices to help reduce my maintenance overhead and improve the (unit) testability of my code and processes. Do you discuss anything along those lines in Chapter 15 of Seam In Action? Could you mention a few suggestions for jBPM best practices here?

Would you have any suggestions on how to inject Spring beans into jBPM Action Handlers and Decision Handlers? I was thinking I could use AOP and inject beans from a given XML file (e.g. beanconfig.xml) that sits next to each processdefinition.xml and would be picked up by the AOP before advice code, and the beans listed in the XML file could be configured via Spring Annotations to minimize the need for file reading from the database. This is a question I believe I'm seeing often enough in Google searches, and definitely welcome any suggestions you might have.

Thanks so much,
Jim
[ August 05, 2008: Message edited by: Jim Bethancourt ]
 
Author
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I cannot lie to you. My understand of jBPM goes beyond a basic level, but I have never used it on the volume you are talking about. The jBPM chapter is not about managing jBPM, it is about what Seam can do to help tie jBPM into your application and how they can share context. It would be well outside the scope of the book to go into management of jBPM anyway. You are likely going to need to find a good resource dedicated to the topic (or hunt down someone who is really good at it).
 
reply
    Bookmark Topic Watch Topic
  • New Topic