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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3775

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:
subject: Db driven menu system
Similar Threads
Collection Filtering
Action form that contains a collection of an unkown length
IMPOTANT: Drop down Menu disappears partially behind system tray in windows
Why & how to build map of maps?