jQuery in Action, 2nd edition*
The moose likes Other Application Frameworks and the fly likes Suggestion required for User module Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
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: 211
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) - Online Certifications - Webner Solutions
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1

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: 211
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: 443
    
    1

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Suggestion required for User module
 
Similar Threads
Query regarding stripes:select in Stripes.
How to download MasterExam from http://www.onlineexpert.com/
UML Generalization Problem
Doubt in Mapping( associations of entities)
Good Initiative taken by IIT's and IISc