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.
posted 10 years ago
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.