Introduction

You can create beans that can be used globally by internationalizing your JavaBeans code. Internationalization is the process of isolating all of the language-dependent and customs-dependent code in your bean from the language- and customs-independent code. Customs dependencies include date and number formats. Java provides classes and interfaces to internationalize your beans so they can be used anywhere in the world. In this chapter, you will create a global bean, use Java's Locale and ListResourceBundle classes, and support the display of different languages.

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.