Download presentation
Presentation is loading. Please wait.
Published byKory Blair Modified over 9 years ago
2
Globalization Development Kit Building Global Internet Application Simon Law Product Manager Oracle Corporation Session id: 40127
3
Globalization Development Kit What is the GDK ? – A toolkit that simplifies the development process, and reduces the cost of developing Internet applications that will be used to support a global environment The need for the GDK – The complexity associated with the different globalization concepts, can make building and supporting a global Internet application quite a challenge for many companies.
4
Internet and Oracle Services Oracle’s Globalization Platform for J2EE Internet Services – provides the development support for the J2EE middle tier to hide the complexity of synchronizing globalization operations across tiers Oracle Services – provides development support in the middle tier to provide consistent globalization operations as provided in the database server
5
Monolingual Model English Locale Japanese Locale Application Server A Thai Locale ISO-8859-1 Shift- JIS TIS- 620 Application Server B Monolingual English Application Server Instance1 Application Server Instance2 Monolingual Japanese Oracle Unicode Database Application Server Instance Monolingual Japanese
6
Multilingual Model Oracle Unicode Database English Locale Japanese Locale Thai Locale ISO-8859-1 Shift- JIS TIS- 620 Application Server Application Server Instance Multilingual English, Japanese, Thai
7
Developing a Global Internet Application Determining the user locale preference and synchronizing it with the application Specifying the character set for the input and output of web content Staging and managing translated content Getting consistent globalization operations between the application and the database
8
Locale TypeSource HTTP language preferenceBrowser User Input Locale Menu Locale preference from databaseDatabase LDAP locale preference LDAP Application default locale GDK Locale TypeSource HTTP language preferenceBrowser User Input Locale Menu Locale preference from databaseDatabase LDAP locale preference LDAP Application default locale GDK Supported Locale Sources
9
GDK Application configuration file Dictates the globalization behaviors and the properties of the application One application configuration file per J2EE application Alter the globalization behavior in the application, without the need to change the programs and to recompile them
10
Defining the locale sources and the application locales Application configuration file: gdkapp.xml oracle.i18n.servlet.localeldap.LDAPInetOrgPerson oracle.i18n.servlet.localesource.HTTPAcceptLanguage de-* ja en-US
11
Detecting the Locale Locale loc = request.getLocale( ); Localizer localizer = ServletHelper.getLocalizerInstance(request); The GDK Localizer is an all-in-one globalization object that encapsulates comprehensive globalization attributes and methods
12
Character set for the input and output of web content A single local character set dedicated to the whole application Use Unicode UTF-8 for all contents regardless of the language Use the native character set for each language
13
AUTO-CHARSET ISO locale NLS_LANGUAGENLS_TERRITORYIANA Character Set ar-SAARABICSAUDI ARABIAWINDOWS-1256 de-DEGERMANGERMANYWINDOWS-1252 en-USAMERICANAMERICAWINDOWS-1252 en-GBENGLISHUNITED KINGDOMWINDOWS-1252 elGREEKGREECEWINDOWS-1253 es-ESSPANISHSPAINWINDOWS-1252 frFRENCHFRANCEWINDOWS-1252 fr-CACANADIAN FRENCHCANADAWINDOWS-1252 iwHEBREWISRAELWINDOWS-1255 koKOREANKOREAEUC-KR jaJAPANESEJAPANSHIFT_JIS itITALIANITALYWINDOWS-1252 ptPORTUGUESEPORTUGALWINDOWS-1252 pt-BR BRAZILIAN PORTUGUESE BRAZILWINDOWS-1252 trTURKISHTURKEYWINDOWS-1254 nlDUTCHTHE NETHERLANDSWINDOWS-1252 zhSIMPLIFIED CHINESECHINAGBK zh-TWTRADITIONAL CHINESETAIWANBIG5
14
Handling the character set Specify the Character set in the application configuration file. UTF-8 AUTO-CHARSET ja EUC-JP
15
Managing translated content Static Files – HTML, GIF, XML etc. French version of index.html > index_fr.html or fr/index.html ServletHelper.rewriteURL ( ) method rewrites a URL based on the rules specified in the application configuration file. ">
16
Managing translated content Strings in the JSP / JAVA Servlets Externalized into Java ResourceBundle REPLACE <% Locale user_locale=request.getLocale(); ResourceBundle rb=ResourceBundle.getBundle("resource",user_locale); %> WITH % Localizer.getMessage ("Welcome") %>
17
Globalization compatibility between Java & Oracle No Globalization Standard Lengthy lead time for Java to add new locale support The GDK extends Oracle Globalization Support features to the application server Handles the compatibility between the Java and the Oracle database server seamlessly
18
Not available in Java 1.4.2 Languages BANGLADESH CYPRUS DJIBOUTI INDONESIA KAZAKHSTAN MALAYSIA MAURITANIA SINGAPORE SOMALIA UZBEKISTAN VIETNAM ASSAMESE BANGLA BENGALI GERMAN DIN GUJARATI INDONESIAN KANNADA LATIN AMERICAN SPANISH MALAY MALAYALAM MARATHI ORIYA PUNJABI TAMIL TELUGU VIETNAMESE AR8ADOS710 AR8ADOS710T AR8ADOS720 AR8ADOS720T AR8APTEC715 APTEC715T AR8ASMO708PLUS AR8ASMO8X AR8HPARABIC8T AR8MUSSAD768 AR8MUSSAD768T AR8NAFITHA711 AR8NAFITHA711T AR8NAFITHA721 AR8NAFITHA721T AR8SAKHR706 AR8SAKHR707 AR8SAKHR707T AR8XBASIC BG8MSWIN BG8PC437S BN8BSCII CE8BS2000 CEL8ISO8859P14 CH7DEC CL8BS2000 CL8EBCDIC1158 CL8EBCDIC1158R CL8ISOIR111 JA16DBCS JA16DBCSFIXED DK7SIEMENS9780X DK8BS2000 E7DEC E7SIEMENS9780X E8BS2000 EE8BS2000 EEC8EUROASCI EEC8EUROPA3 EL8DEC EL8GCOS7 EL8MACGREEK EL8MACGREEKS EL8PC437S EL8PC851 ET8MSWIN923 F7DEC F7SIEMENS9780X F8BS2000 HU8ABMOD HU8CWI2 I7DEC I7SIEMENS9780X IN8ISCII IW7IS960 IW8EBCDIC1086 US8ICL UTFE VN8VN3 WE16DECTST WE16DECTST2 WE8BS2000 JA16EUCFIXED JA16MACSJIS JA16SJISFIXED KO16DBCS KO16DBCSFIXED KO16KSC5601FIXED KO16KSCCS LA8ISO6937 LA8PASSPORT LT8PC772 LT8PC774 LV8PC1117 LV8PC8LR LV8RST104090 N7SIEMENS9780X NDK7DEC NE8ISO8859P10 NL7DEC S7DEC S7SIEMENS9780X S8BS2000 SF7ASCII SF7DEC TR7DEC TR8DEC US16TSTFIXED US8BS2000 CL8KOI8U D7DEC D7SIEMENS9780X D8BS2000 WE8BS2000E WE8BS2000L5 WE8DEC WE8DECTST WE8DG WE8EBCDIC924 WE8GCOS7 WE8HP WE8ICL WE8ISOICLUK WE8NCR4970 WE8NEXTSTEP WE8ROMAN8 YUG7ASCII ZHS16CGB231280FIXED ZHS16DBCS ZHS16DBCSFIXED ZHS16GBKFIXED ZHS16MACCGB231280 ZHT16BIG5FIXED ZHT16CCDC ZHT16DBCS ZHT16DBCSFIXED ZHT16DBT ZHT32EUCFIXED ZHT32EUCTST ZHT32SOPS ZHT32TRIS ZHT32TRISFIXED Territories Character sets Linguistic Sorts ARABIC ARABIC_ABJ_MATCH ARABIC_ABJ_SORT ARABIC_MATCHSPANISH SPANISH_M XSPANISH GENERIC_M SIMPLIFIED CHINESESCHINESE_PINYIN_M SCHINESE_RADICAL_M SCHINESE_STROKE_M GBK TRADITIONAL CHINESETCHINESE_RADICAL_M TCHINESE_STROKE_M BIG5 HKSCS
19
Oracle Services Oracle Locale Mapping Oracle Locale Information Oracle Character Set Conversion Oracle Date, Number, and Monetary Formatting
20
Oracle Services cont. Oracle Binary and Linguistic Sorts including _CI + _AI Oracle Translated locale and time zone names Oracle Language and Character Set detection Technology to guess the character set encoding and language of a given byte string or document
21
D E M O N S T R A T I O N Oracle Store
22
Summary GDK is Oracle’s globalization platform for the middle-tier – Bring Oracle Globalization features to the J2EE – Reduce Application Development Complexity – Increase Developer Productivity – Decrease Deployment Times – Application Consolidation
23
Next Steps…. Recommended demos and/or hands-on labs – OW Hands on Session & DEMOgrounds Globalization Support related questions – Visit the DEMOgrounds for more information. Relevant web sites to visit for more information – http://otn.oracle.com/tech/globalization http://otn.oracle.com/tech/globalization GDK – 10g and 9i availability
24
Reminder – please complete the OracleWorld online session survey Thank you.
25
A Q & Q U E S T I O N S A N S W E R S
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.