Font Size: a A A

Design And Implementation Of I18N Framework Based On JSF

Posted on:2011-03-05Degree:MasterType:Thesis
Country:ChinaCandidate:B HuFull Text:PDF
GTID:2178360308961236Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The "Global village" has come into people's mind more and more deeply. In order to meet the different languages, culture, and custom between different areas, corresponding Web application began to emerge, in consequence, the requirement of software's I18N is becoming an urgent problem to be solved. However, most of the conventional software development processes use localization to implement multi-language. As a result, when you want to add a new language, you must modify your source code, it will waste more manpower and hard to maintain the same style of the source code, in the end, it will cause a lot of trouble for software upgrade and maintenance.As helpfulness to the developing of web applications, the Java EE specification provides a uniform standard to the designing of web applications. According to the structure of this standard and MVC pattern, design an I18N framework that is easy to operate, to upgrade, and to maintain, will make the I18N web applications easily and quickly. The I18N framework, mentioned in this article, which is based on JSF has three parts. The first part is the framework for UI which is based on JSF, to implement I18N in the presentation layer and controlling layer; the second part is called the framework of dynamic elements which is based on the Spring framework, this part will implement the dynamic data's I18N in the layer of business logic and data accessing object; the last part integrate the two frameworks above according to IoC in Spring, in this way, the whole frame will reduce the coupling of components and improve the efficiency of development.This design process has been used in metal query system of The 24th Winter Universiade. Part of the crucial code can be using in other web applications without modification, which can simplify the implementation of the I18N in the target system.The purpose of this thesis is that to summarize the flexible and quickly way to I18N, and to build a portable and easy-using web application framework based on JavaEE by means of distilling the commons of the operation.
Keywords/Search Tags:Web Application, I18N, Frameword, annotations, IoC, AOP
PDF Full Text Request
Related items