如何使用Spring构建工作流程?

时间:2014-03-26 14:29:07

标签: java spring

我正在构建桌面应用程序并且经常使用Spring

现在我想知道是否有任何好的方法来组织针对Web服务的工作流程执行?

示例用例:用户想要预订汽车。

因此,我的应用程序必须执行以下工作流程。但不是一次,在请求之间必须向用户显示获得的数据并等待进一步的交互:

   authenticate 
-> search for a list of cars 
-> return result to user
-> pick a specific car 
-> return details of the car
-> enter credit card payment data 
-> book the car 
-> display confirmation

此外,用户当然应该有机会取消工作流程并从头开始。

Spring(或不同的java框架)中是否有任何非xml 方法可以帮助创建和维护此类工作流?

0 个答案:

没有答案