测试 EJB 3.x 应用程序

创建 EJB 3.x 应用程序之后,您可以创建 Servlet 或 JSF 来测试 EJB 3.x 应用程序。

关于此任务

要使用 Servlet 测试 EJB 应用程序,必须先从 EJB 3.x 中使用 @EJB 注入注释来注入 EJB 引用。注入 EJB 之后,您可以调用从远程接口或本地接口可用的方法。

过程

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: last_date

File name: ttestover.html