OK, I figured it out:
Properties prop = new Properties();
prop.put(Context.PROVIDER_URL,"spectrum.nschool.net");
prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
try {
ctx = new InitialContext(prop);
}
catch (NamingException e) {
System.out.println("Can't get context.");
e.printStackTrace();
}
Sorry for wasting this space.
>From: "Indigo Blue" <[EMAIL PROTECTED]>
>Reply-To: "jBoss" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [jBoss-User] jBoss on Linux, client application on a remote
>machine
>Date: Wed, 24 May 2000 17:47:48 GMT
>
>Hi all,
>I'm moving to my ultimate structure (very slowly though :-) and
>yesterday
>have installed jBoss on a Linux machine. I also deployed my beans
>there and
>jBoss (with an SQLException and datasource starting problem but I'll
>sort
>that out later) starts nicely (I had to use VNC from my Windows box
>though
>because of the X11 server thing for EJX)
>My question now is (I bet it's a very basic question but....)
>How does a client application on a remote machine (in this case NT
>machine)
>on the same network find jBoss server and the beans it serves?
>Thank you in advance.
>Ina
>>________________________________________________________________________
>>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>>
>>-----------------------------------------------------------------------------
>>To unsubscribe from this mailing list, send email to [EMAIL PROTECTED]
>>with the text "unsubscribe instantdb" in the body of the email.
>>If you have other questions regarding this mailing list, send email to
>>the list admin at [EMAIL PROTECTED]
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]