Hi, >Wow, I was actually just trying to figure out how to hook up a Tomcat >system to a remote jBoss JMS queue. Is there good documentation on how >to accomplish this on the OpenJMS site?
Why would the OpenJMS site have any JBoss documentation? It has good docs for how to connect and use an OpenJMS server. The process would be the same for all such servers though: - Download the JMS client jar for your JMS server and put it in your webapp's WEB-INF/lib directory. - Write your code to explicitly specify the connection factory in the InitialContext environment. This will be an implementation class specific to your JMS server, e.g. weblogic.jndi.WLInitialContextFactory for Weblogic, org.exolab.jms.jndi.InitialContextFactory for OpenJMS, org.jnp.interfaces.NamingContextFactory for JBoss. - Specify the server name and port also in the InitialContext environment. That's it, the rest is like any JMS tutorial: do a JNDI lookup for your connection, then your queue/topic, get a session, etc. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
