• Post Reply Bookmark Topic Watch Topic
  • New Topic

Module for multiple users  RSS feed

 
pari Nagda
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to design/develop a module in java eg. Login. This module can be accessed by multiple concurrent users say 200, 500, 800 etc.

Please suggest me how such type of modules can be designed in such a way that it can perform successfully.

What are the main concepts at code level / Infrastructure level which we should take care while designing such modules.

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of app is this - a web app?
 
pari Nagda
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, This is an web app with tomcat server .
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally you should reuse as much of the existing Servlet API and Tomcat infrastructure as possible; http://www.coderanch.com/how-to/java/ServletsFaq#security talks about that.

1000 concurrent users is not a trivial number, but also not a particularly large one. Any problems resulting from that are more likely to be in other parts of the app, not in the authentication/authorization part.
 
pari Nagda
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Generally you should reuse as much of the existing Servlet API and Tomcat infrastructure as possible; http://www.coderanch.com/how-to/java/ServletsFaq#security talks about that.

1000 concurrent users is not a trivial number, but also not a particularly large one. Any problems resulting from that are more likely to be in other parts of the app, not in the authentication/authorization part.



Servlet API ??? Can you please put some more details . Not sure , what apis you are talking about .
Also here i am more concerned about concurrency not security.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you were thinking of using some framework that builds on top of the Servlet API, that works as well. If you don't know what the Servlet API is at all ("Servlet API" is a good term to google, by the way), then I strongly advise to become familiar with it before you dive deeply into writing web apps. That API is the foundation of almost all Java web apps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!