Commerce JavaBeans work like standard JavaBeans, but they provide extra functions specific to electronic commerce, such as security, constraint, typing, and localization. Since commerce applications are deployed world-wide, visual representations must be customizable depending on the cultural context in which they are used. Text must be translated, and audio and graphics must be appropriate and sensitive to cultural and legal differences between locales. A locale is a linguistically and culturally unique geographical region. For software applications, the granularity of locales is determined by the ISO standard.
Variants can include regional dialects or computer platforms.
To prepare an application for global deployment, developers must first internationalize software. These data are substituted with a bit of code that contains a key. This key is subsequently used to dynamically locate the content. Resource Bundles Localized data is typically stored ina resource bundle. A resource bundle is a file that contains all of the keys for an application along with the localized data associated with each key.