Thanks Tiago, I'll check out the links below.

Are you using X10DT for development? 

I'm having issues with the "X10 Application (Java back-end)" eclipse run 
configuration. It does't seem to be packing the "src-java" classes into the Jar 
that it deploys to the remote JVM. And hence I'm getting ClassNotFounds when 
using X10DT run config.

I'm wondering if it's a problem with my configuration or X10DT remote run 
config doesn't support it. I've also tried updating the eclipse build-path with 
an external java project jar, but that doesn't seem to work either.

Everything works fine when I build the jar manually.

Cheers,

Jason




On 10/11/2013, at 8:32 PM, Tiago Cogumbreiro <cogumbre...@di.fc.ul.pt> wrote:

> Hello Jason,
> 
> Yes, it is feasible and described on that Language Specification [1]. The X10 
> runtime (available from the X10 distribution) is a regular JAR. For example, 
> I've built a deadlock detection for X10 implemented in Java that calls X10 
> code [2].
> 
> The paper "Compiling X10 to Java"[3] should give you a good head start. The 
> presentation of this paper might also be of good use [4]. I also found some 
> information at Kadix[3].
> 
> Cheers,
> 
> Tiago
> 
> ---
> 
> 1. http://x10.sourceforge.net/documentation/languagespec/x10-latest.pdf
> 
> 2. https://bitbucket.org/cogumbreiro/armus-x10/
> 
> 3. http://dl.acm.org/citation.cfm?doid=2212736.2212739
> 
> 4. 
> http://www.ics.uci.edu/~guoqingx/oopsla-pc-workshop/slides/kiyo-UCIworkshop_kk20130515.pdf
> 
> 3. http://www.kadix.ca/x10/doc/concepts/managedx10-1.html
> 
> 
> On Sat, Nov 9, 2013 at 11:11 PM, Jason Separovic <jseparo...@nexoss.com.au> 
> wrote:
> Hi,
> 
>  
> 
> I’m trying to come up with a Java Client/Server framework for executing tasks 
> on my X10 implementation.
> 
> I’ve read that we can call X10 code from java so I thought using a Java RMI 
> client/server approach might suit.
> 
> Basically, the Java RMI server would start the X10 application code and 
> provide an interface for a client to send tasks which would be executed on 
> the X10 memory grid once loaded.
> 
>  
> 
> Does this approach sound feasible? Are there any code samples around for 
> calling X10 code from within a Java Class?
> 
>  
> 
> Cheers,
> 
>  
> 
> Jason
> 
>  
> 
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
> 
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk_______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to