Brilliant -- thanks. What I couldn't find was any documentation
on what goes in the environment Hashtable. :)
What does the dedicated.connection=true property do? If I were
to do this:
public FooRemote getRemote(String jndiURL)
{
Hashtable env = new Hashtable();
env.put(Context.PR
I've got the same beans deployed on two different app servers (each
backed by a different database). I want my client to talk to both.
Say the two app servers are running on machines named Fred and Wilma;
I know I can choose which one I talk to by setting
java.naming.provider.url=ormi://fred/a
So I have a session bean, Home interface, Remote interface, Bean
class, the works. When I invoke it from a web application within
Orion, it works fine. When I try to invoke it from a standalone
client, I can look up the home interface but I can't narrow it.
I get:
java.lang.ClassCastException