測試 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