File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Login " Watch "Login " New topic


Deepa Malhotra

Joined: Oct 31, 2003
Posts: 19
I want a login for my application which will be used by 1000 users. each have username, password and a role based access. Should I build a table with username, password, role and manage the authentication and authorization thro my code. How would this technique compare to other standard ways used in huge applications.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
In most applications this is all handled for you by the application server. That is what application servers are for, to keep you from reinventing stuff like this.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Login
jQuery in Action, 3rd edition