• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggestion required for User module

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic