JBoss and jndi
Hey all, I am trying to write a stand alone client that accesses a java message queue on a remote machine. This machine is implementing JBoss technology.
I assume I need to use a jndi lookup. I have tried created an inital context. For example,
Hashtable environment = new Hashtable();
jndiContext = new InitialContext(environment);
Now, obviously I need to add something to this environment. So far, anything I try to add/modify to this environment throws a multitude of exceptions. If anybody can point me to a tutorial on using JBoss + remote jndi lookups, or can give me some help on what to put into my environment I would be very thankful. I have spent hours trying to find a tutorial / read forums, but no luck. Thanks

