wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes workflow  vs java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "workflow  vs java" Watch "workflow  vs java" New topic
Author

workflow vs java

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I hope, Business processes in an application are defined as work flow and executed by work flow engine.
If a java based application uses work flow engine, then what stuff will be written using java code. Java code just used to invoke work flow engine??

Note: for business validation I use rule and its engine
Mark Garland
Ranch Hand

Joined: Nov 11, 2006
Posts: 226
Hi Jacob,

Which workflow engine were you thinking of using?

I imagine the engines would work by your code calling methods on them. i.e. you would use a library, then import the classes and call methods on them.

I had a little experience with jBPM. You defined your processes in an xml file (which was uploaded to the db). The engine then gave you TaskInstances, ProcessInstances, etc. and had support for JAAS (to manage authentication).
Perhaps look it up and see if it will meet your needs?

MG


28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: workflow vs java