cancel
Showing results for 
Search instead for 
Did you mean: 

JWT goes Activiti

freakassault
Champ in-the-making
Champ in-the-making
Hello everyone,

I want to start implementing a extension for the Activiti Process Engine. I want to set an JWT-"adapter" on top of the process engine. JWT is the Java Workflow Toolkit an especially built for development processes and I want to run the JWT on the Activiti Process Engine.

My question is where to find information about the implementation of an "adapter". Is there anything available or can someone tell me where to find information about this topic?

Thank's a lot,

Christian
5 REPLIES 5

tombaeyens
Champ in-the-making
Champ in-the-making
can you explain a bit more about what exactly you want to adapt?

freakassault
Champ in-the-making
Champ in-the-making
Hello again,

of course I tell you more about what I want to adapt. First of all a little bit about JWT. The quote is from the eclipse website http://www.eclipse.org/jwt/
The Java Workflow Tooling project (JWT) aims to build design time, development time and runtime workflow tools and to foster an ecosystem of interoperable Business Process Management (BPM) platforms
I want to write an adapter on top of the virtual maschine of the process engine, that the engine supports nativly JWT. In one sentance, I want to execute a JWT-process on the Activiti Process Engine.
You guys are working on the BPMN 2.0 support for Activiti and I want to start a supproject for supporting JWT.
JBPM from JBoss has also the concept of adapters on top of the engine and I wonder how I can implement such an "adapter" in Activiti.

For this goal I was wondering if there is any information out there to start in the right way.

Thank's once again,
Christian

tombaeyens
Champ in-the-making
Champ in-the-making
Adapter is not the right jbpm terminology nor activiti terminology. 

Can you elaborate on what the purpose is?  Simulation perhaps?
Are you referring to plugging in your own behaviour into activities?  That is certainly possible, but no docs nor stability at this point.

freakassault
Champ in-the-making
Champ in-the-making
Okay,

then no adapter. Lets call it terminology. I just want to write something, that Activiti supports JWT like it does on BPMN, BPEL or JPDL.
The purpose is to enact JWT processes, what the main goal is. I thought, you were using a virtual process engine and it would be easy to extend the engine with other process description languages.

kind regards,
Christian

tombaeyens
Champ in-the-making
Champ in-the-making
As I know JWT, it does the same in eclipse as what the PVM does in java: a platform for building process languages.  In case of the PVM, this is the runtime behaviour.  In case of JWT, this is the graphical tooling.

So as I understand JWT, JWT itself doesn't specify a particular process behaviour.  So I don't see how you can build activity implementations for that.  But you can build JPDL and BPMN designers with JWT.  If you take BPMN on top of JWT as an example, then I think this is the easiest way to translate a from JWT into activiti:

1) Use the BPMN modeler on top of JWT (is that finished already?)
2) Save to BPMN file format
3) Use the BPMN parser to deploy the process into Activiti (Activiti already contains the BPMN activity implementations)
4) Just run that process

Does that match with what you're trying to do?