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 REST with Spring (video course) this week in the Spring 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: 561

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: 4200

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
I agree. Here's the link:
subject: Need Help on Multithreading
It's not a secret anymore!