I want to use JMS,but I didn't have an examplewhere I can get it
try http://java.sun.com/products/jms/tutorial/index.htmlAnd our online manual.