[jboss-dev-forums] [Design of JBoss jBPM] - Want to contribute Commands, where to start?

camunda do-not-reply at jboss.com
Sun Aug 20 12:32:55 EDT 2006


Okay, first of all: Hello guys! 

I am glad to tell that I have joined the jbpm developer community. Tom has accepted me as committer also. So I hope we will have much fun together in the future :-) 

A few words about me: I am working in my own company named "camunda", which I founded in 2003. We are a small company and a main focus is doing projects at customers or go into larger projects as specialists. One part of our main focus is BPM with Java and so jBPM at the moment. So I have seen some (big) jBPM projects the last years. We developed some tools around jbpm and named it "toolkit for jbpm". Now I plan to contribute much of this code to the jbpm core.

One important thing in the tk4jbpm is a EJB3 SLSB which I now plan to migrate to jbpm commands. But I have some questions on the jbpm commands in the CVS head:

- Why do they call "JbpmContext context = JbpmContext.getCurrentJbpmContext();" in the execute method? Shouldn't that be hidden in a Command superclass? Or is the
JbpmContext.getCurrentJbpmContext() usable in any environment? Also it seems to be deprectated. Sorry if this is a silly question, but I worked with a different use of the context in our bean the last year.

- I don't know where are the constants "public static final String CMD_START_PROCESS = "jbpmStart";" in the Command-Interface are for. Any hints?

- Why are there Hibernate mappings for the commands. In which circumstances are they persistent? I thought, I pass them to the CommandService and get a answer, why Hibernate?

- How exactly are the Commands working. I think I have also seen them used internally in jbpm? Wheres a good starting point?

Or is there some documentation or other Threads to read first? I think I have no full understanding how the commands should work. I thought of pure Java Command objects, send to [JBoss / Webapp / JMS / ...] and get back a result (if synchronous).

If i Have gained a better understanding I think I can submit some additional commands.

In a second step I want to change the remaining tk4jbpm (the Swing Admin-Client mainly) to work with these commands and the CommandService. A example screenshot for that Swing Admin-Client can be found on our homepage: http://www.camunda.com/toolkit_for_jbpm/tk-jbpm-screenshots.html


So sorry for the long threadand I hope to get some answers to start contributing :-)

Best regards from Stuttgart, Germany,

Bernd



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966325#3966325

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966325



More information about the jboss-dev-forums mailing list