We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(8)
jbpm 做到了这一点,并与 jboss 很好地集成。 根据我的经验,它非常易于使用并且功能强大。
jbpm does this and integrates well with jboss. In my experience, it's pretty easy to use and is powerful.
您可能想查看StatefulJ。 它是基于 Spring Data for Persistence 支持构建的,并且状态模型本身是使用注释定义的。 与 XML 相比,这种方法更容易设置和维护。 关于规则 - 我过去使用过 Drools,并且似乎得到了很好的支持。
免责声明:我是 StatefulJ 的作者
You might want to look at StatefulJ. It is built off of Spring Data for Persistence support and the State Model itself is defined using Annotations. This approach makes it easier to set up and maintain vs. XML. Regarding rules - I've used Drools in the past and seems very well supported.
Disclaimer: I am the author of StatefulJ
如果您正在构建一些基于屏幕到屏幕转换的系统,那么您一定应该查看 Spring WebFlow http://springframework.org /网络流
if you are building some screen to screen transition - based system, then you should definately check out Spring WebFlow http://springframework.org/webflow
我在使用 ragel 构建易于维护的状态机方面获得了非常好的经验。 生成的 java 代码质量非常高。 但是,它纯粹是一个状态机生成器,没有特定用途,因此您可能会找到其他解决方案,可以在与 Web 相关的问题域中更无缝地工作。
I have had very good experiences with using ragel to build easily maintainable state machines. The resulting java code is of very high quality. However, it is purely a state machine generator with no specific usage intended, so you might find other solutions that will more seamlessly work in a web related problem domain.
也许你可以看看 JBoss PVM。 它仍处于 alpha 阶段,但可用于对任何类型的状态机进行建模。 我们也在研究它的 GUI 转换。
http://www.jboss.org/jbossjbpm/pvm
Maybe you can take a look at JBoss PVM. It is still in alpha, but can be used to model any type of state machine. We are also looking into it for gui transitions.
http://www.jboss.org/jbossjbpm/pvm
试试Activiti,好像很多人都在用。
http://activiti.org
对于规则引擎部分,您当然可以使用 Drools。
Try Activiti, seems a lot of people are using it.
http://activiti.org
For the rules engine part you could use Drools, of course.
看一下 StateBuilderJava,它是一个状态机代码生成器,它将状态机的 XML 描述转换为状态机的扩展版本Java 状态模式。 它支持所有 UML 语义:状态机可以是分层的、并发的和异步的。
每个测试场景都可以用状态机Xml描述来建模,代码生成器代表您编写状态模式,如果手工完成,则非常繁琐且容易出错。
另一个优点是使用图形工具可视化和编辑测试场景。
这允许快速实施和记录一组测试场景。
在示例中,编写了 XMPP 客户端的测试套件,以说明如何使用状态机代码生成器轻松快速地编写复杂的测试场景。
免责声明:我是这些软件的作者。
Have a look at StateBuilderJava, a state machine code generator that transforms an XML description of a state machine into an extended version of the Java state pattern. It supports all UML semantics: state machine can be hierarchical, concurrent and asynchronous.
Each test scenario can be modelled with a state machine Xml description, the code generator writes the state pattern of your behalf, which is tedious and error prone if done by hand.
The other advantage is to visualize and edit the test scenario with a graphical tool.
This allows to quickly implement and document a set of test scenarios.
In the examples, a test suite of an XMPP client has be written to illustrate how state machine code generators can be used to write complex test scenarios easily and quickly.
Disclaimer: I'm the author of these software.
我用过活动。
这是最好的框架。
它是一个轻量级工作流程和业务流程管理(BPM)平台。
开源并可在任何 Java 平台或云上运行。
所需要的只是 BPMN 、 Maven 、 Spring 和 Activiti 的知识。
I've used activiti.
It is the best framework.
It is a light-weight workflow and Business Process Management (BPM) Platform.
Open Source and works on any Java Platform or cloud.
All one needs to have is the knowledge of BPMN , Maven , Spring and Activiti.