Because if you are running your servlet within orion then the default
properties are fine (set by orion). You only need to supply a properties
file if you are changing the defaults for the environment.

Dave Smith
Senior Team Leader
Aristocrat Technologies Australia Pty Ltd

mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Eric Wong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 July 2000 8:54
To: Orion-Interest
Subject: Orion primer


I followed the orion primer and got the example to work.  What I don't
understand is the following code in the servlet:

// Get the initial JNDI context
Context context = new InitialContext();
// Get a reference to the Hello interface
Object boundObject = context.lookup(helloHomeLocation);
HelloHome helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject,
HelloHome.class);


How is the initial context acquire without all passing in a Hashtable or
Properties object?  

thanks,
eric
 


Reply via email to