GeeCON Prague 2014*
The moose likes Other Application Frameworks and the fly likes Spring /Hibernate Design Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring /Hibernate Design Question" Watch "Spring /Hibernate Design Question" New topic
Author

Spring /Hibernate Design Question

Rob Miles
Greenhorn

Joined: Sep 16, 2008
Posts: 1
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
 
GeeCON Prague 2014
 
subject: Spring /Hibernate Design Question