This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to implement database call on simultaneous click.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to implement database call on simultaneous click.." Watch "How to implement database call on simultaneous click.." New topic
Author

How to implement database call on simultaneous click..

vikasfru rawatfru
Greenhorn

Joined: Jan 14, 2011
Posts: 1
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

Joined: Jun 01, 2010
Posts: 618
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to implement database call on simultaneous click..
 
Similar Threads
Thread safe Struts Action
Querying in JPA
Browser bug?
session collusion problem
Question about Tomcat Authentication