final Context context = new InitialContext(jndiProperties);
String name = "ejb:/resteasy-reverse-injection-test/StatelessEJBwithJaxRsComponents!" + StatelessEJBwithJaxRsComponentsInterface.class.getName();
StatelessEJBwithJaxRsComponentsInterface remote = StatelessEJBwithJaxRsComponentsInterface.class.cast(context.lookup(name));
log.info("remote: " + remote);
remote.setUp(NON_CONTEXTUAL);
Assert.assertTrue(remote.test(NON_CONTEXTUAL));
}
/**
* Addresses injection of JAX-RS components (BookResource, BookReader, BookWriter) into
* a @Dependent annotated stateful EJB3. The target SFSB is not a contextual object,