• Post Reply Bookmark Topic Watch Topic
  • New Topic

Suggestion required for User module  RSS feed

 
Varun Chopra
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!