To make easier the test development, some helper classes are available in the package org.objectweb.easybeans.tests.common.helper
In the example, the EJBHelper class is used to get a bean instance:
bean = getBeanRemoteInstance(SLSBExample.class, ItfExample.class);
The method getBeanRemoteInstance()
is used to a remote
access of a bean and the method getBeanLocalInstance()
is
used to a local access of a bean. They need two parameters:
The bean class;
The bean interface;