Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java EE supports multi-core processors?

Posted on 2008-06-12
2
Medium Priority
?
567 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 252 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 248 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

972 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