StaxHome ejbHome =
(StaxHome)PortableRemoteObject.narrow(obj, StaxHome.class);
StaxObject ejbObject = ejbHome.create();
List factoryList = ejbObject.testStax();
assertEquals(3, factoryList.size());
assertEquals("InputFactory",
"com.ctc.wstx.stax.WstxInputFactory",
factoryList.get(0));