Solved

Java EE supports multi-core processors?

Posted on 2008-06-12
2
545 Views
Last Modified: 2012-08-14
JavaEE supports multi-core processors?
If I develop an application with JavaEE it'll be able to use the multi-core benefits?
How an JavaEE application will behavior in a multi-core enviroment?

Using JavaEE JDK6 update 5 JSP with visual web pages in Netbeans 6.0.1 Apache 6.0.14
0
Comment
Question by:Fiorilli
2 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 63 total points
ID: 21779261
Yes, no, it depends on what you mean.   Support multi-core is no different from supporting mutiple-CPU's.  From the OS's point of view, there are "X" number of CPU's it (the OS) really does not care if there are four cores on four unique chips or four cores on one chip.  It (the OS) sees four CPU's.

A J2EE server is multi-threaded and thus it can have multiple threads, each thread is seen as a unique "task" to the OS and the OS can dispatch each thread on a different "CPU".  Each core is seen as a unique CPU  to the OS.  So if you have 4 users executing your application each user would be a different thread and thus if you have enough "CPUs" (cores) you could have all 4 users executing concurrently.

Now, if you mean you want a single user making a single request that gets broken down into multiple distinct units of work and spread across multiple cores, then you have to write your application to do this.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 62 total points
ID: 21782640
This is not a matter of Java, this is a matter of the OS. If the OS sypport multicore then you can run a J2EE on a multicore environment. Java delegates the calls to the os, you do not have to worry about multicore.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now