Search in sources :

Example 1 with EJBLocalHome

use of jakarta.ejb.EJBLocalHome in project tomee by apache.

the class StatelessPojoEjbLocalObjectTests method test02_getEjbLocalHome.

public void test02_getEjbLocalHome() {
    try {
        final EJBLocalHome localHome = ejbLocalObject.getEJBLocalHome();
        assertNotNull("The EJBLocalHome is null", localHome);
    } catch (final Exception e) {
        fail("Received Exception " + e.getClass() + " : " + e.getMessage());
    }
}
Also used : EJBLocalHome(jakarta.ejb.EJBLocalHome)

Example 2 with EJBLocalHome

use of jakarta.ejb.EJBLocalHome in project tomee by apache.

the class SingletonPojoEjbLocalObjectTests method test02_getEjbLocalHome.

public void test02_getEjbLocalHome() {
    try {
        final EJBLocalHome localHome = ejbLocalObject.getEJBLocalHome();
        assertNotNull("The EJBLocalHome is null", localHome);
    } catch (final Exception e) {
        fail("Received Exception " + e.getClass() + " : " + e.getMessage());
    }
}
Also used : EJBLocalHome(jakarta.ejb.EJBLocalHome)

Example 3 with EJBLocalHome

use of jakarta.ejb.EJBLocalHome in project tomee by apache.

the class StatefulPojoEjbLocalObjectTests method test02_getEjbLocalHome.

public void test02_getEjbLocalHome() {
    try {
        final EJBLocalHome localHome = ejbLocalObject.getEJBLocalHome();
        assertNotNull("The EJBHome is null", localHome);
    } catch (final Exception e) {
        fail("Received Exception " + e.getClass() + " : " + e.getMessage());
    }
}
Also used : EJBLocalHome(jakarta.ejb.EJBLocalHome)

Aggregations

EJBLocalHome (jakarta.ejb.EJBLocalHome)3