File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JAVA and duel CPUS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JAVA and duel CPUS" Watch "JAVA and duel CPUS" New topic

JAVA and duel CPUS

tammy Shi

Joined: Jul 25, 2006
Posts: 1
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

My way ahead is long, i see no ending, yet hight and low,i'll searche with my will unbending.
Chris Johnston
Ranch Hand

Joined: Dec 13, 2004
Posts: 85
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.
wood burning stoves
subject: JAVA and duel CPUS
It's not a secret anymore!