Relative Content

Tag Archive for properties

Read-only class properties [duplicate]

This question already has answers here: How does one decide if a data object type should be designed to be immutable? (9 answers) Closed 10 years ago. When is recommended to use read-only properties — if the language allows me? Are public read-only properties meant to replace getter methods or at least the Magic Methods […]

Where to store global enterprise properties?

I’m faced with a crowd of java applications, which need different global enterprise wide properties for operation, for example: hostname of the central RDBMS, hostname and location of the central self-service portal, host location of central LDAP, host location of central mail server etc.