This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Suggestion required for User module Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Suggestion required for User module" Watch "Suggestion required for User module" New topic
Author

Suggestion required for User module

Varun Chopra
Ranch Hand

Joined: Jul 10, 2008
Posts: 204

Friends,

I am working on an e-course website. Users will register with site and register themselves for e-courses available. Site will keep track of following:

* User Registration
* User Course Relations (how many courses opted, how many already completed etc.)

We are using following technologies:

* JSF for MVC
* Hibernate for persistence

My question is, for above 2 user tasks what is the standard best approach being used these days? Should I create tables in database and write code to maintain above information or is there a better approach available?

regards
Varun


-Varun -
(My Blog) - Mock Tests
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 434

Hi,

Am not sure I understand your query.

You have to maintain information (what exactly you call information is application specific, I feel). So you will have to use some kind of persistence mechanism (database is a good choice considering the advantages it provides). You mentioned you are using hibernate (hibernate is an ORM, Object to Relational mapping tool). So its obvious you ought to have a database, right? Is there anything specific you have in mind?

Cheers,
Raj.
Varun Chopra
Ranch Hand

Joined: Jul 10, 2008
Posts: 204

So its obvious you ought to have a database, right? Is there anything specific you have in mind?


Thanks for reply Raj. Actually I am thinking "Managing User Profiles, login and password" is a pretty standard problem, so there could be a standard solution available out of the box. Is everybody writing new code in every project to handle this problem?
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 434

Hi,

I agree it is a functionality common across many applications but am yet to come across an Out of the box solution to manage this.

Cheers,
Raj.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Suggestion required for User module
 
Similar Threads
Good Initiative taken by IIT's and IISc
UML Generalization Problem
Query regarding stripes:select in Stripes.
Doubt in Mapping( associations of entities)
How to download MasterExam from http://www.onlineexpert.com/