This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA and duel CPUS

 
tammy Shi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Chris Johnston
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic