Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8557591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:36:30+00:00 2026-06-11T15:36:30+00:00

My web application is installed on many customer servers. Since the app needs to

  • 0

My web application is installed on many customer servers. Since the app needs to send emails (password recovery), I need a good way of setting up the email server info for each customer.

Should I just have an xml file where each customer can fill in the email server info, and the app picks it up from there?

Are there better ways?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:36:31+00:00Added an answer on June 11, 2026 at 3:36 pm

    Without more information it’s hard to give you specific suggestions. For standalone apps, I would tend toward using simple properties files (javadoc).

    • They are simple to handle in Java (you can read and write them easily, they are backed by a Map.
    • They can be edited by hand in an emergency much easier than XML.

    There are some drawbacks:

    • They are ASCII (ISO-8859-1) only, so you can run into trouble if you want to write extended unicode characters. If you write and read the file from Java, you will have no problems – the Properties class will do this conversion for you.
    • Some SMTP servers require authentication. It is bad practice to store unencrypted passwords into properties files, which may be readable by everyone. In this case, you would need to come up with some sort of reversible encryption mechanism, which is a challenge in itself. You’d have to do this for XML too. You could specify that the user secure this file themselves, using permissions, though this is nowhere near as strong as encrypting it yourself.

    I’m sure there are better ways – and you’ll get lots of answers – but IMHO, these files are simple, relatively rugged and easy to handle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My web application is installed on many customer servers and the app needs to
I was wondering what do i need to get my asp.net web application installed
I created a set up project and installed a web application on my local
I just installed Graphite & statsd to get some statistics for my web-application. It
I have a web application where many components are registered using .LifestylePerWebRequest() , now
I am developing a new revolutionary web application for the enterprise market. Sure, many
I would like to develop a web application in Erlang, so I installed Yaws
I just installed the Google Eclipse plugin and created my first test Web Application
In my production environment I have several Web applications installed in the same machine.
i have two https web applications app1 and app2 installed on two different tomcats

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.