Testing EJB 3.x applications

After you have created an EJB 3.x applications, you can create a Servlet or JSF to test the EJB 3.x applications.

About this task

To test an EJB application with a servlet, you must first inject an EJB reference using the @EJB injection annotation from EJB 3.x. Once you have injected the EJB, you can call the methods that are available from the Remote or Local interface.

Procedure

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: ttestover.html