This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
A bit confused by your question and the link you have mentioned. Actually, the TopicConnectionFactory is by default created for you by JBoss. You just have to do a lookup of that in the JNDI tree. Can you elaborate as to what exactly you are trying to do with the TopicConnectionFactory? Is it that you want to send/receive messages from a topic and hence are trying to get hold of the TopicConnectionFactory?