[jboss-user] [JBoss jBPM] - Re: what is par file? + has anyone used deploy.html in jbpm.

vtysh do-not-reply at jboss.com
Fri May 25 04:04:07 EDT 2007

jbpm-starters-kit-3.1.3 has sources of the web application, and uploading servlet works fine with created by plugin archives. Here is a snip of a code:

  | 		   ZipInputStream zipInputStream = new ZipInputStream(fileItem.getInputStream());
  | 		   JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  | 		   ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipInputStream);	
  | 		   log.debug("Created a processdefinition : " + processDefinition.getName() );
  | 		   jbpmContext.deployProcessDefinition(processDefinition);
  | 		   zipInputStream.close();
  | 		   return "Deployed archive " + processDefinition.getName() + " successfully";

How you should see, par file is a simple zip archive with some special structure.
In the root folder should exist


in classes folder you can put necessary classes

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

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

More information about the jboss-user mailing list