[jboss-user] [jBPM] - REST interface for JBPM

Jon Kranes do-not-reply at jboss.com
Fri Jul 23 09:37:58 EDT 2010

Jon Kranes [http://community.jboss.org/people/jkranes] replied to the discussion

"REST interface for JBPM"

To view the discussion, visit: http://community.jboss.org/message/554174#554174

I just ran across this post and wish I had found it a few months ago, as I've already done much the same thing as you for my own project.  My REST API is not nearly as complete, as I've been building it out on an as-needed basis as we have added features to the application.  My intent was not to create a full REST version of JBPM but rather a REST API to a specific JBPM-based application. In practice however many of the REST API methods have turned out to be pretty much the same as yours -- i.e. straight passthroughs to underlying JBPM engine.

I am also using JAXB but in a somewhat different manner.  I am letting JAXB generate java classes from my schema and then using conversion code to translate between the JAXB generated classes and the JBPM classes.   I am using Spring Framework 3.0 web MVC features, which integrate both the JAXB marshalling and also Jackson JAXB-aware JSON marshalling, so the application will switch from XML to JSON responses just by changing the 'Accept' header of the request.

I will have a look at your implementation in more detail and see if there are any areas where we might share code or technical info.  Thanks for posting your code!


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100723/374f07c6/attachment-0001.html 

More information about the jboss-user mailing list