• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where to start for adding i18n support to existing large J2EE based Web Application ?

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I started on a new assignment where I need to work on a software maintanenace project consisting of a large enterprise java/j2ee based web application that is 10 years old. We need to introduce Internationalization(i18n) support to this web application.
This j2ee based web application uses technologies like java, oracle database, jsp, javascript, websphere v6.1 application server struts, web services, spring, xml, jms, ejb etc and this web application is mostly (oracle) database driven.

Now my question is, can you explain where do we start on this effort of adding i18n support to this large j2ee web application. Initially our focus is to support languages like Spanish, French and later extend to other languages.
Can you please suggest some good books, internet URL's etc. where I can look at for adding i18n support for these kind existing large j2ee based web application?
how to add i18n support to the existing large oracle based database ?

Appreciate your timely help.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Struts Framework has good support for Internationalization. If this application uses Struts, then this would be a good place to start. Any good book about Struts will cover this material. My favorite was Programming Jakarta Struts by Chuck Cavaness.

Good luck!
 
Akram Chotu
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you James

appreciate more thoughts on this subject from fellow JavaRanchers ?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Akram. It really depends on what you have right now and what you need to do. (Where are you, and where are you going?)

Is your data already i18n in Oracle? Are you using n-types and a unicode (utf-8 or utf-16) character set? Do your i18n requirements include the actual data in Oracle or just the display mechanism?

Struts does have nice i18n support but it is not your only option. Most of the i18n in MVC frameworks have the same set of tasks, they just may vary a bit on how they do it. Resource bundles, tag libs, proper contentType encoding, etc. can be used outside of established MVCs but ymmv.

Here is a link that may help your creative/problem-solving juices start to flow: http://rizafar.blogspot.com/2007/07/internationalization-spring-upon-it.html

-Brice
 
Akram Chotu
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Brice.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can reverse engineer your java code and look inside to understand how the application is supposed to work.
Which are central classes could be displayed in a class diagram and methods iterations in a sequence diagram etc.....

Try this 90 days Eclipse 3.5 SR2 evaluation edition of EclipseUML Omondo to reverse your project and not to pay during this reverse evaluation period.
Just unzip and it immediately works: http://www.omondo-internal-build.com/eclipse-java-galileo-SR2-win32_eclipseUML2.2_package.zip
How to reverse an existing project example: http://www.forum-omondo.com/documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html

You need to identify which class is in charge of translation and which methods are called and when. Be careful to respect existing work flows because if you insert a call at a wrong position then all the application could be unstable !! Check which JDK is supposed to work with your server because EclipseUML is only working with JDK 5 and futher so .....

 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic