OK this code worked for both Weblogic and
JBoss:
public static IService getEJBObject(
String serviceName) throws ArcstreamException
{
log.debug("EJBFactory.getEJBObject() for service: " + serviceName);
InitialContext ic = null;
Method method;
try {
ic = new InitialContext();
Object home = ic.lookup("statelessSession." + serviceName);
}...
Now in Websphere 5.0, it's causing a SRVE0026E NamingException. Does anybody know what the syntax should be for this?
Thanks!