在 JBoss 中替换 Websphere 的 WorkManager?
我们正在从 Websphere 迁移到 JBoss,但某些代码依赖于 Websphere 的 WorkManager (com.ibm.websphere.asyncbeans.WorkManager)。有没有人以前处理过这个问题,并对如何替换 Websphere 的 WorkManager 以及用什么替换它有建议?
We're moving from Websphere to JBoss, but some of the code has dependencies on Websphere's WorkManager (com.ibm.websphere.asyncbeans.WorkManager). Has anyone dealt with this before and have recommendations on how to replace Websphere's WorkManager and what you'd replace it with?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,目前还没有 WorkManager 等效项的 Java EE 标准;但是,JSR-236(Java EE 并发实用程序)可能会作为包含在 Java EE 7 中的候选者。
在此之前,根据您当前使用 IBM async beans WorkManager 的方式以及您的具体用例,您可能需要考虑一些不同的选项 -
Unfortunately, there is currently no Java EE standard for a WorkManager equivalent; however, JSR-236 (Concurrency Utilities for Java EE) may be back as a candidate for inclusion in Java EE 7.
Until then, depending on how you are currently using the IBM async beans WorkManager and your specific use cases, you may have a few different options to consider -
您可能可以查看 Spring 框架的
WorkManager
。查看此链接以了解更多详细信息: 类WorkManagerTaskExecutor
You could probably checkout the Spring Framework's
WorkManager
.Check this link out for more details : Class WorkManagerTaskExecutor