Awesome scufle2 rocks!!!

We are developing a workflow engine using apache storm, our plan is to use
the xml parser of Taverna so we can use Taverna files to load the workflows
on our server.

Our tesis is to use some Big Data techologies (use choose Apache Storm in
this case), to run scientific workflows, in this context we use Taverna
like SWfMS.

Thanks and probably we are going to send more emails on future :)
Berch





2014-09-16 7:24 GMT-03:00 Donal K. Fellows <[email protected]
>:

> On 15/09/2014 21:56, Berch Gularte wrote:
>
>> I was reading the source code (https://github.com/myGrid/taverna-server)
>> and I didn't find the parser that converts the xml to java objects,
>> please could someone tell me where is the parser?
>>
>
> For the XML documents that are used in the interface, the XML parser and
> serializer are both implemented using JAXB, which Java comes with a
> standard implementation of. This is handled by the Web application
> framework (Apache CXF) for us, guided by annotations on the model classes.
>
> For the workflows themselves, there are two parsers:
>
>  1. There is a very simple parser in the ContentsDescriptorBuilder class,
> but that's really just using XPath to pick out the values of interest.
>
> https://github.com/taverna/taverna-server/blob/2.5/
> server-webapp/src/main/java/org/taverna/server/master/
> ContentsDescriptorBuilder.java
>
>  2. The execution engine has a non-trivial parser which is mostly in here:
>
> https://github.com/taverna/taverna-engine-core/tree/
> maintenance/workflowmodel-impl/src/main/java/net/sf/
> taverna/t2/workflowmodel/serialization/xml
>
> If you're writing new code, you're probably better off using the Scufl2
> parser so that your code will continue to work as we migrate to Taverna3,
> though then you're going to be working with the Scufl2 model.
>   https://github.com/taverna/taverna-scufl2
>
> It's hard to give much more information without knowing what you're trying
> to do with what you're discovering. ;-)
>
> Donal.
>
>
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to