Replacing Websphere's WorkManager in JBoss?

萝らか妹 提交于 2019-12-18 13:38:35

问题


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?


回答1:


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 -

  • CommonJ WorkManager
  • EJB 3.0 Timer Service
  • EJB 3.1 Asynchronous Beans
  • Servlet 3.0 Asynchronous Servlets



回答2:


You could probably checkout the Spring Framework's WorkManager.

Check this link out for more details : Class WorkManagerTaskExecutor



来源:https://stackoverflow.com/questions/9026516/replacing-webspheres-workmanager-in-jboss

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!