From: tfennelly <do-...@jb...> - 2006-06-20 12:42:38
|
anonymous wrote : Could the bean be defined in Groovy to avoid compiling it? It would complicate the administration of the ESB if people had to use a compiler when editing the configuration. For sure (but I haven't tried it :-) ). It could also be implemented such that the Groovy Bean script could be embedded in the smooks-resource configuration. I tried this with BeanShell scripting (http://www.beanshell.org/[/url]). It worked fine, but to be honest I found modifying Java code inside an XML file to be a pain in the neck, so I didn't publish it. If you want to take a look at the code: [url]http://cvs.milyn.codehaus.org/browse/milyn/smooks-cartridges/beanshell/src/main/java/org/milyn/smooks/beanshell/BeanShellTransUnit.java?r=1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951953#3951953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951953 |