Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


where you use thread in your java project?



where you use thread in your java project?..

Answer / sathish reddy

There are many and varied uses for threads.

If your Java application is a server, like a web server,
then you might want to be servicing more than one client at
a time. Thus you may have one thread per client.

An interactive Java application migth need to do something
that takes some time, for example calculate something
complex or drag down data from a server. In this case you
might want to do the time consuming work in one thread while
your user interface is in another thread displaying a
"Working, press Cancel if you want me to stop" dialog.

There are also situations where you need to compute A, B and
C, each of which takes time but can be done in no particular
order. In that case it may be quicker to do them each in
their own thread rather than one after the other.

Until a few years ago processors were getting faster and
faster. Today procesors are pretty much going as fast as
they can with current technology. Instead processors are
being given more and more "cores", each core being able to
run one thread. One of the challenges facing computer
science now is moving to models that better support the
hardware we're now running on.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Struts Interview Questions

kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............

1 Answers  


How can link tag’s action attribute be used?

0 Answers  


multiple instances for action class is it possible

8 Answers   iFlex, ProSoft,


how to develop the submit and search operations in single jsp using struts?

0 Answers   Wipro,


Is Struts Action class Thread Safe?

14 Answers   Wipro,


i have 500 jsps in my application,and i have same forward name for each jsp,so it lokks in strutsconfig.xml,from 1 to 500,but i want send 498 page directly,how can i cingigure my application

2 Answers   TCS,


how to connect from struts to database through hibernet and where u can modify the class

0 Answers   Polaris,


Why are struts tightly coupled?

0 Answers  


What is the use of forwardaction?

0 Answers  


How data transfered from one formbean to another formbean?

4 Answers  


What is the purpose of @conversion annotation annotation?

0 Answers  


What are Struts properties?

2 Answers   VI eTrans,


Categories