This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement database call on simultaneous click..  RSS feed

 
vikasfru rawatfru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i have a problem in a project that i am implementing. what i m trying to do is logging into my application via two different users then clicking on a button simultaneously and the result should be that both users see two different outputs from database, two different pages. i am not using Connection pooling, i am using a different framework. can anyone suggest a simple way to resolve the problem.
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide more details about your application and problem. Is this a web application? Or is it a client/server application? Please specify the technologies used such as servlets, struts, swing, etc. How does the user login to the application and where is that information stored? When you connect to the database, are you using the logged on user's credentials? Or is your SQL different for each user? Does the application work when you don't simultaneously click the buttons? Does it sometimes work but other times not?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!