• 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

Spring /Hibernate Design Question

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Our web developer recently left the company, and I have been handed the task of updating parts of his CMS system. (my programming skills are a bit rusty so you may have to bare with me)

Currently the system uses Spring and Hibernate (also other bells and whistles not important here). It builds page based on "News" objects(the text on the page) and "Media" objects (all images and multimedia).

I have to add the ability to have multi-lingual support. My current plan is to have central News item in one table then have a "Translation" table in a one-to-many relationship.

Here is where my lack of knowledge really shines, the way I understand it I need to Class for "Translation" and the relevant mappings, Then indicate that the "News" item get/set a "translation". Then presumably I can at the "translation" on the resulting jsp side with model.transObject.column (?)

Am I on the right track here or am I completely lost?

Cheers
Rob

P.S. Any tutorials or examples you could suggest would be greatly appreciated. I havent played with java for a few years
 
reply
    Bookmark Topic Watch Topic
  • New Topic