Hello Gary,

Check out any of the EJB examples, for example the one in
orion/demo/demo/ejb/cart/.

There you will find a jndi.properties file with the correct properties (for an
application client). It should look something like this:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory

java.naming.provider.url=ormi://<hostname>/<application-name>
java.naming.security.principal=<username>
java.naming.security.credentials=<password>

Of course you need to replace the values in <> with real values.

Since I saw that this info was pretty well hidden, I'll add an FAQ entry about
it immediately.

Regards,
Karl Avedal

Gary Shea wrote:

> Hi --
>
> This is one of those newbie questions, I know, but I can't find any
> reference to what the java.naming.factory.initial value should be for Orion!
>
> TIA
>
>         Gary


Reply via email to