title: How to access beans from the applicationContext.xml in my service layer.
body: <p>How to access beans from the applicationContext.xml in my service layer.</p>
  
  <p>I am working on a Spring Web MVC project and that issue is that my service layer needs a URL, User ID and Password to do a web post to a server to save my data.  I dont want to hardcode the URL, User ID and password in the Java Code of the Service Layer so I would like to put them into the applicationContent.xml file but I dont know how to access them from the service layer.</p>
  
  <p>Can someone please help me out with this..  example code would be great.</p>