Fedora Linux Support Community & Resources Center
  #1  
Old 17th September 2009, 08:17 PM
Z-hh Offline
Registered User
 
Join Date: Sep 2008
Posts: 40
linuxfedorafirefox
Question Java In Parallel

Hello All...
I have a Java Application and i want to run it in parallel .
I have a beowufl cluster consists of 5 computers with fedora 11 and I use MPICH2 for C/C++ programs .
I have read about JMPI and mpiJava and how to use them ...But I'm still hesitant .
Should I use JMPI or mpiJava or I have to think about others ways like JPPF ,RMI,.......?
I need your help to decide ...
I'm looking for your suggestions and your replies .

regarded .
Reply With Quote
  #2  
Old 17th September 2009, 09:27 PM
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,858
linuxfedorafirefox
All depends I think. If you have and EJB application, jboss has built in support for distributed loads. For other application types, I ever used communication via sockets, is clean, simple and efficient but not transparent.

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #3  
Old 18th September 2009, 10:39 AM
Jamwa Offline
Registered User
 
Join Date: Jan 2008
Location: Nairobi Kenya
Posts: 558
linuxfedorakonqueror
Perhaps you could use Threads in your application?
Reply With Quote
  #4  
Old 20th September 2009, 06:49 AM
Z-hh Offline
Registered User
 
Join Date: Sep 2008
Posts: 40
linuxfedorafirefox
Hi..
Jamwa:
My code was built as Java Threads , but Java threads aren't good enough for clusters ..They are more suitable for SMP.
ppesci:
What do you mean by sockets ?? I don't know how to use sockets ...!
Thanks ...

Last edited by Z-hh; 20th September 2009 at 07:00 AM.
Reply With Quote
  #5  
Old 20th September 2009, 07:48 AM
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,858
linuxfedorafirefox
Sockets is part of java.net package. You can learn with documentation from sun site. Sockets is a way of communication between applications using streaming. You can exchange data between applications while running. Not much sophisticated but is simple and worked fine for me at least with 2 machines running in parallel.

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
Reply

Tags
java, parallel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Processing in PHP alirizwan Programming & Packaging 3 14th September 2005 03:39 PM
Installing RPM 4.3.2 parallel to RPM 4.3.1 ilja Using Fedora 2 13th July 2004 08:57 PM


Current GMT-time: 12:43 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Watertown Travel Photos - Zagreb - Centar - Same Travel Photos on Instagram