}
public static void importProcessDefinitions(String filename)
throws Exception {
// Create process definition directory bean
ProcessDefinitionDirectoryHome pddh
= (ProcessDefinitionDirectoryHome)EJBUtil.lookupEJBHome
(ProcessDefinitionDirectoryHome.class,
"ejb/de.danet.an.wfdemo.ProcessDefinitionDirectory");
ProcessDefinitionDirectory pdd = pddh.create();
InputStream is = SubFlow.class.getResourceAsStream(filename);
assertTrue (is != null);
BufferedReader br = new BufferedReader
(new InputStreamReader(is, "ISO-8859-1"));
StringBuffer sb = new StringBuffer();