I am currently implementing Restful services using spring mvc and webflow to map rest-style url's to services .

I am looking for webflow example to create flow definitions with no view states. In my service layer as there are no view states, how will I have definitions for the business methods alone?

I tried as shown below but errors out saying that it should run atleast in one state

<on-start>
<evaluate expression="ibdController.getIBD()" >
</evaluate>
</on-start>


. I would appreciate any help.