Hi Jason - I have a few questions for you.

Is your intent to connect a Java-only client program to a multi-place X10
program on the server side?  I assume this from your description, but I
want to be sure.

Do you expect to manually start up the X10 program as a long-lived program,
and then point your client program(s) to it after it's running?

Will you use Java RMI to link the client to X10 place 0, and your question
relates to linking the server-side RMI code to the X10 worker threads?  Do
you plan on using some form of work queue where the RMI server puts work
for the X10 worker thread to pick up?


We have recently done some integration work that brings Managed X10 places
into java processes, with a hand off of work initiated by the java code and
processed by the X10 runtime.  So I know that what you want to do is
possible, but it is more tricky to get X10 to process code initiated in
Java threads than it is to call Java code from X10 code.


   - Ben



From:   "Jason Separovic" <jseparo...@nexoss.com.au>
To:     <x10-users@lists.sourceforge.net>,
Date:   11/09/2013 06:12 PM
Subject:        [X10-users] Implementing an X10 Server within a Java
            client/server       architecture



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

<<inline: graycol.gif>>

------------------------------------------------------------------------------
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