Skip to main content

Deploy ticket.ixm

  2 posts   Feedicon  
Replies: 1 - Last Post: October 03, 2013 07:56
by: Ralph
« Older Topic » Newer Topic
showing 1 - 2 of 2
Posted: September 30, 2013 17:47 by silent_yclu
Hi,

In imixs-workflow-web-sample tutorial, programmer needs to upload a WAR.file first and then upload ticket.ixm file by modeller to appserver,

How to do upload one time with a WAR file? Thank you for help.

BR,

Anthony Lu
Posted: October 03, 2013 07:56 by Ralph
Hi,

there is no general feature to load a model programmatic. But in the marty sub project we have a EJB called SetupService.
This bean checks if model files exist in the classpath and load them into the database. For example you can call such a method (importXmlEntityData) from a servlet init call:

https://java.net/projects/imixs-workflow-marty/sources/svn/content/imixs-marty/tags/imixs-marty-2.0.4/imixs-marty-ejb/src/main/java/org/imixs/marty/ejb/SetupService.java?rev=1185


The trick is that the model file created by Imixs Modeler is in the same xml format as the JAXB implementation of XMLItemCollectionAdapter.

===
Ralph
Replies: 1 - Last Post: October 03, 2013 07:56
by: Ralph
« Older Topic » Newer Topic
 
 
Close
loading
Please Confirm
Close