This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Need Help on Multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Need Help on Multithreading" Watch "Need Help on Multithreading" New topic

Need Help on Multithreading

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 556

Hi Ranchers,
I have below Question

1> Suppose i have a banking application and there are 5000 transactions to be carried out.Would you create 5000 threads for such a Application in a Mulitthreaded environment.What is the Approachable feasible solution.?Suggestions should i go about this query.?

When The Going Gets Tougher,The Tougher gets Going
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 3892

How is your banking application receiving the transactions?

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Shanky Sohar
Ranch Hand

Joined: Mar 17, 2010
Posts: 1051

explain you problem..

If the banking application is using j2ee container(i.e servlets,jsp ) then you donot have to worry for thread.container will create all those..

SCJP6.0,My blog Ranchers from Delhi
wood burning stoves
subject: Need Help on Multithreading
It's not a secret anymore!