【问题标题】:Invoke EJB Stateless Session Bean method from WebSphere Administration console 7.0 or with WebSphere Application Server's utils从 WebSphere 管理控制台 7.0 或使用 WebSphere Application Server 的实用程序调用 EJB 无状态会话 Bean 方法
【发布时间】:2012-02-21 16:36:29
【问题描述】:

是否存在从 WebSphere 7.0 控制台调用无状态会话 bean 方法的方法或借助 WebSphere utils 之一的帮助?

我只是不想做客户端来测试我的 EJB。

【问题讨论】:

    标签: java ejb websphere


    【解决方案1】:

    您可以使用通用测试客户端测试您的 EJB。在此处查看更多详细信息:http://publib.boulder.ibm.com/infocenter/wsadhelp/v5r1m2/index.jsp?topic=%2Fcom.ibm.etools.server.core.doc%2Ftopics%2Fcwejbtc.html

    虽然该链接适用于 WebSphere 5,但 UTC 在 WebSphere 7.0 中仍然可用。以下是启用它的方法: http://wpcertification.blogspot.com/2011/04/universal-test-client-application.html

    【讨论】:

    • 我猜这个很酷的功能只在 RAD 中可用。 WebSphere Application Server Developer Tools for Eclipse 内的 Web 浏览器无法打开 Universal Test Client 页面。我应该安装一些额外的插件吗?
    • UTC 只是一个 Web 应用程序,一旦它安装在服务器上,您就可以从浏览器访问它并测试您的 EJB。
    • 终于在 AppServer-Shared 中找到了 IBMUTC.ear。谢谢你的线索。
    猜你喜欢
    • 1970-01-01
    • 2013-06-30
    • 1970-01-01
    • 2015-06-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-08
    • 1970-01-01
    相关资源
    最近更新 更多