1 Reply Latest reply: Jan 23, 2013 10:35 PM by r035198x RSS

    Webservice - loading properties file


      I'm creating a webservice which connects to server A, sends a message M and gets a response message R back. The values to connect to server A are in a properties file which I need to load in the webservice. Since I connect to the same server everytime, (i just send diff messages and get appropriate response back) I just want to load the properties file just once. I don't want to load the properties file everytime the webservice gets called so I can improve the performance. Can you please tell me how I would be able to achieve this? I'm planning to deploy this webservice on to a tomcat server.