aspose file tools*
The moose likes Object Relational Mapping and the fly likes Db driven menu system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Db driven menu system" Watch "Db driven menu system" New topic
Author

Db driven menu system

Luke Gee
Greenhorn

Joined: Apr 11, 2012
Posts: 5
I want to create a database driven menu system that will populate a menu depending on the current users permissions. I have the idea of a table that would hold the collection name and another that maps sub menus to this parent menu item in collection. I would then map user types to the collection, defining whether they have access to this. The problem is im new to this kind of concept and I cant quite grasp how this would map to objects in java and just wondered if anyone could point me into the right direction.

Any help would be much appreciated.

Cheers
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3860

So you need to know how ORM (from Hibernate) works?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
See,

http://en.wikibooks.org/wiki/Java_Persistence

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Db driven menu system