Announcing Sarasvati for Java 1.0.0-beta3

15 views
Skip to first unread message

Paul Lorenz

unread,
Dec 9, 2008, 8:40:16 PM12/9/08
to sarasvati...@googlegroups.com
Sarasvati 1.0.0-beta3 has been released.

It includes the following major changes:
  • Support for nested processes has been fully implemented. Earlier versions did not work correctly.
  • The domain specific language for guards/flow control GuardLang has been replaced with Rubric
    • An introduction to Rubric can be found here.
    • In addition to what GuardLang was capable of, Rubric statements can return strings, numbers and dates, and has a simple syntax for date offsets. 
    • The Rubric AST implements the visitor pattern, so Rubric statements can be traversed, validated and otherwise inspected.
    • It is implemented in ANTLR, so it now has a proper lexer.
    • Rubric can be used as a simple rules engine for specify task properties.
  • A new node type has been added for the hibernate engine: HibPropertyNode
    • The node type has an associated String -> String map, which can be used to store arbitrary properties in the database.
  • A new CustomNode type has been added. Subclasses of CustomNode can be used by both the memory backed and hibernate backed engines.
    • You can now generally avoid writing the same node logic twice, if you are using both engines. If need to control how your node is mapped to the database, you can still subclass HibNode directly.
    • It uses HibPropertyNode on the hibernate side to persist the node attributes.
The full changelog can be found here.

It can be downloaded at

http://code.google.com/p/sarasvati/downloads/list

cheers,
Paul

Paul Lorenz

unread,
Dec 9, 2008, 9:30:07 PM12/9/08
to sarasvati-wf-users
Also of note:

Custom attributes must now be wrapped in a <custom> tag. This removes
the requirement that they be in a separate namespace.

cheers,
Paul

On Dec 9, 8:40 pm, "Paul Lorenz" <plor...@gmail.com> wrote:
> Sarasvati 1.0.0-beta3 has been released.
>
> It includes the following major changes:
>
>    - Support for nested processes has been fully implemented. Earlier
>    versions did not work correctly.
>    - The domain specific language for guards/flow control GuardLang has been
>    replaced with Rubric
>       - An introduction to Rubric can be found
> here<http://code.google.com/p/sarasvati/wiki/Rubric>
>       .
>       - In addition to what GuardLang was capable of, Rubric statements can
>       return strings, numbers and dates, and has a simple syntax for date
>       offsets.
>       - The Rubric AST implements the visitor pattern, so Rubric statements
>       can be traversed, validated and otherwise inspected.
>       - It is implemented in ANTLR, so it now has a proper lexer.
>       - Rubric can be used as a simple rules engine for specify task
>       properties.
>       - A new node type has been added for the hibernate engine:
>    HibPropertyNode
>       - The node type has an associated String -> String map, which can be
>       used to store arbitrary properties in the database.
>       - A new CustomNode type has been added. Subclasses of CustomNode can
>    be used by both the memory backed and hibernate backed engines.
>       - You can now generally avoid writing the same node logic twice, if
>       you are using both engines. If need to control how your node is mapped to
>       the database, you can still subclass HibNode directly.
>       - It uses HibPropertyNode on the hibernate side to persist the node
>       attributes.
>
> The full changelog can be found
> here<http://code.google.com/p/sarasvati/issues/list?can=1&q=label%3A1.0.0-...>.
Reply all
Reply to author
Forward
0 new messages