Some reader favorites:
EJB fundamentals and session beans
Create a scrollable virtual desktop in Swing
Wizard API updated!
Tim Boudreau has released a new version of the Swing Wizard library (version 0.997) that fixes the WizardException bug reported in JavaWorld's recent Open Source Java Project profile. The article's examples have been reworked to test out the new, improved WizardException. Thanks, Tim, for this helpful fix!
Open Source Java Projects: The Wizard API
So, is there an easy, manageable solution to this problem that keeps you from having to run multiple versions of the site?
Well, if the dynamic content for the Website is generated through Java technology, there sure is! That's because the Java
platform intrinsically supports the development of locale-independent applications through various classes supporting internationalization found within the java.util, java.io, and java.text packages. Internationalization itself is the name given to the design process wherein an application's country, language,
and culture-specific information is isolated and typically encapsulated within some external files or objects. Consequently,
making your application compatible with an entirely new language or country does not have to involve a major rewrite of your
presentation logic; rather, it now merely involves creating an additional version, specific to the new locale, of the external
files. The process of creating these locale-specific entities (be they files or objects), along with the associated translation
of text, is called localization.
Websites based on JavaServer Pages (JSPs) lend themselves more easily to internationalization than those developed using servlets. This is because the technology facilitates the separation of presentation from application logic. Now, let us examine this premise in detail by developing a global version of the Music Without Borders online store that was demonstrated in my earlier article on JSP architecture (see the Resources section below for a link to this story). The online store is based on the Model-View-Controller (MVC) architecture to maximize the separation of presentation from content.
Although internationalizing a JSP-based Web application is not particularly difficult, it is a task best initiated at the design stage. Toward this end, all locale-specific textual data that constitute an application's user interface, such as page headers and trailers, user messages, form button labels, dates, currencies, and so forth, are first identified and isolated from the application within external files. These entities, which hold different values under different locales, are also known as resources; a grouping of resources within an external class or property file is known as a resource bundle or, simply, a bundle.
Free Download - 5 Minute Product Review. When slow equals Off: Manage the complexity of Web applications - Symphoniq
![]()
Free Download - 5 Minute Product Review. Realize the benefits of real user monitoring in less than an hour. - Symphoniq