[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);

....

[880 byte] By [iana2401] at [2007-11-26 10:26:30]
# 1
no idea ?
iana2401 at 2007-7-7 2:30:10 > top of Java-index,Development Tools,Java Tools...
# 2
Looks like this thread is now being followed up in http://swforum.sun.com/jive/thread.jspa?threadID=108090.
KarthikR at 2007-7-7 2:30:10 > top of Java-index,Development Tools,Java Tools...