From past Year are so, we have developed an application, in which we have used the static String Constants to store the Constants. Like public static final String PAYMENT_CHEQUE = "cheque"; Where Ever I Require i.e. in the jsp pages as well the Action class I will be refering to the Above String Constant I am thinking after reviewing the Resource Bundle, properties Files, My Question is
- Is there any performance hit if I use the properties file compared to Static String Constant?
- Which is better Static string constant and Properties File Key Value pair?
- Is that good idea id we use the static String Constant(For Labeling) in the jsp?
Please suggest me