Recently, I have learned SOAP and JMS in the use of SOAP and JMS, I wrote this chat room, I hope to help SOAP, JMS and GUI beginners. Program download address http://www.51sports.org/york/chat.rar
Document description:
Lib.rar public lib is decompressed into the tomcat / common / lib directory
OpenJMS.WAR OpenJMS HTTP service Copy to Tomcat WebApp directory
ChatServer.war Login Service Copy to Tomcat WebApp Directory
York-chat.rar chat room client unzipped to any path
OpenJMS-0.7.6.1.rar JMS service extracts to any path
Chat room installation
1. Install JDK1.4
2. Make sure the java_home settings are correct
3. Press the file instructions to indicate the file copy to the correct path
4. Set the environment variable openjms_home = E: /openjms-0.7.6.1/ (E: /Openjms-0.7.6.1/ OpenJMS installation path)
5. Modify the OpenJMS Profile This file is OpenJMS.XML under E: /OpenJMS-0.7.6.1/config
The content to be modified is as follows:
Port = "8080" ClientPingInterval = "20" ServerServlet = "/ Openjms / OpenJMSServer" JNDiservlet = "/ openjms / openjmsjndi" AdminServlet = "/ openjms / openjmsserver" /> Replace 172.16.8.140 with your public network IP, your web service is replaced by 8080 6. Start JMS service, start the file as E: /Openjms-0.7.6.1/bin/startup.bat 7. Start Tomcat 8. Modify the client profile to put the config.xml under the York-Chat directory Where http://172.16.8.140:8080/ use your service URL instead The effect after the client is running as follows