[kepler-dev] kepler "instantiate component" from a url

Edward A. Lee eal at eecs.berkeley.edu
Fri Aug 31 13:09:37 PDT 2007


At 11:43 AM 8/31/2007, Eric Magaha wrote:
>In the "Instantiate Component" dialog there is a text field for URL.  Can I load these custom actors from a web server instead of having to keep local copies under my kepler installation directory? 

If I'm not mistaken, this will only work for components that
where the "class" definition is itself a composite actor.
It won't work for actors defined in Java.  The reason for this,
by the way, is security... We don't want it to be possible to
create models that stealthily load and execute Java code from 
some server...  The current scheme is weakly secure in that
Ptolemy/Kepler only ever executes Java code that has been installed
on the local machine...

Edward



------------ 
Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  



More information about the Kepler-dev mailing list