title: Difference between publish and restart in jboss/tomcat
body: <p>What is difference between publish and restart in jboss/tomcat? I am really confused about when one should use restart or publish? 
  Every time I make any change config in my Java(Spring) application(on localhost) I had to do a compile and then perform a restart of server so that it picks up the changes.
  Is there any easier way to get the changes picked up? </p>