Hello All,
I'm trying to get the Root context in a Stateless Session Bean. I need to pass an XML file located in the root dir (SampleEjb.jar/axis2.xml). My
test code..
@Stateless
public class TestBean implements TestBeanRemote {
public static final
String RemoteJNDIName = TestBean.class.getSimpleName() + "/remote";
public void test() {
System.out.println("Hello World !");
sampleMethod("C:\\axis2\\conf\\axis2.xml");
}
}
currently it works fine with the absolute path. "C:\\axis2\\conf\\axis2.xml"
I'm running EJB3 on JBoss4.0.4.GA
Any help in this regard is appreciated.
Thanks,
Sridhar.