Hi, you must specify the parameters in the environment you provide for the InitialContext function (see the code snippet below). But you should do so only from "real" (remote) clients, within the ejbs itself (for portability) you should not specify any factory, url, user or password. Regards, Jens Stutte m_Factory = "com.evermind.server.rmi.RMIInitialContextFactory"; // The application-name is the one you specify in the orion server.xml m_Url = "ormi://<host>/<application-name>"; try { // You could change the environment for the process permanently, too... Hashtable h = new Hashtable(); h.put(Context.INITIAL_CONTEXT_FACTORY,m_Factory); h.put(Context.PROVIDER_URL, m_Url); if (m_User != null) { h.put(Context.SECURITY_PRINCIPAL, m_User); if (m_Password == null) m_Password = ""; h.put(Context.SECURITY_CREDENTIALS, m_Password); } m_jndiContext = new InitialContext(h); } catch (NamingException ne) { // TODO: Check for type of error and distinguish... } catch (javax.ejb.EJBException ee) { // TODO: Check for type of error and distinguish... } -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am: Freitag, 10. März 2000 19:45 An: Orion-Interest Betreff: Calling EJBs across applications Hi, Is it possible with Orion for servlets (and EJBs) to call EJBs when they are assembled in different applications deployed across different servers? If so, how? Calling EJBs across applications is useful as we use EJBs to implement common business processes that are to be shared and used across multiple applications dispersed across our enterprise. It used to be possible before J2EE as one could instantiate an InitialContext specifying the factory and url (obtained dynamically through a configuration mechanism) - now with J2EE one must not specify any arguments when instantiating the InitialContext thereby delegating this mapping to the application server. Thanks, Jeff