• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAVA and duel CPUS

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not know whether i can post this question here or not . If it is not allowed here, Please help me put it in a correct place. Thank you!

I want to know how do the Java language supports duel CPUS or more CPUS without WAS of IBM.
And how to realize loading balancing in this situation.
What i must pay attion to when i am coding. Thread or someothers?

I was so confused this two days and i find nothing document helpful
I deeply hope to get an anwser here . Thank you all!
Best wishes
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Generally, the JVM will offload the issue of threading and how to handle them to the underlying OS. This allows you to get true multi-process applications that are able to take advantage of multiple cpus.

If you are trying to create an application outside of an app server (i.e., IBM's Websphere or BEA's WebLogic), then you will need to program with threads and make things in your app run asynchronously. This will raise the complexity of you app though.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic