Hey
Peter Braswell wrote:
> All,
> I've been wrestling with a tricky problem and I need
> to recruit some help...
>
> Is it possible do dynamically download bytecode during
> the invocation on an EJB given a URL?
>
> In otherwords the EJB signature has a paramter ITask
> and ITask has a method doSomething( ). ITask is an
> interface and the server does not have an
> implementation in it's code base, rather I'd like to
> download the byte code from the client machine?
>
> Attempts to accomplish this result in a class not
> found exeption with the annotation "RMI classloader,
> RMI security manager not installed, disabled".
>
> Does this boil down to an EJB no-no? Or is there a
> way to accomplish this and how??
Yes, there is a way to accomplish this: set a security manager on the
server (i.e. uncomment the appropriate line in
/conf/default/jboss.properties) and use Dynamic Classloading. See RMI
docs for details on how to do DC.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]