Solved

Java EE supports multi-core processors?

Posted on 2008-06-12
2
546 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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…

777 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