jQuery in Action, 3rd edition
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Db driven menu system" Watch "Db driven menu system" New topic

Db driven menu system

Luke Gee

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.

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

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

[How to ask questions] [Twitter]
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553


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
It's not a secret anymore!