[CREATOR & JMS API]
Using Sun Java System Application Server Platform Edition 8.2 with Creator 2.1, I created a simple client java to communicate with a jsf webapp through JMS connection.
I initialized Sun Java Application Server with a connection factory and q queue without any pb.
In the java code of my client I don t know the value with which I can initialize Context.PROVIDER_URL.
Does anybody can help me ?
R間is
--
....
Hashtable env=new Hashtable();
env.put(Context.PROVIDER_URL, "mq://localhost:28676/");
env.put(Context.INITIAL_CONTEXT_FACTORY,"<class of context factory>");
context = new InitialContext(env);
// look up the ConnectionFactory
factory = (TopicConnectionFactory) context.lookup(factoryName);
// look up the Destination
dest = (Topic) context.lookup(destName);
....

