how do i best possible pass (serverspecific) parameters to a web dynpro application ?
i wrote a web dynpro application that, among other things, sends an email and stores files on a server directory. Therefor i need parameters like e.g. "mailhost" or "directory".
The way i chose is to make a *.properties file. But from my point of view there are some disadvantages.
1) When i deploy the WD App to a new server, i have to edit the properties file before. I don't know how to do that. Do i have to edit the *.properties file again, before i make a new ear-Archive with NWDS ?
2) When the properties a wrong or change for a deployed app, i have to restart the J2EE Engine. Thats not convenient for a production server.
Is there a better way ?
(And I promise to return and reward the answers)