Hi I was also trying to create a topic on the fly, but somehow it's giving following error.
"JNDI API lookup failed: javax.naming.NameNotFoundException: myTopic"
Here is my code.
Here is my jndi.properties file.
Can anybody explain what's wrong with this code? I am a newbie in JMS
FYI, I took this code from
here