Date: Tue, 17 Mar 1998 14:13:23 -0500
From: Anil Mathew Pannikode <apannikode@zoomit.com>
To: java-security@web2.javasoft.com
Subject: ClassLoader
I hope somebody will be able to help me on this
The applet I am writing is to load JavaByteCode from an Object Database
on the server and to execute them on the Browser. That means what I
have is a byte stream of the class file. When I looked at the
documentation of ClassLoader I found the method DefineClass() is
protected. How can I Instantiate this serialized Class ?.
One way to acheive this (correct me if I am wrong) is to write my own
ClassLoader. But then I will not be able to run this applet from a
Browser ?. (Default AppletClassLoader can not be replaced or extended).
I would like to run this applet from a Browser. I am not breaking any
security, as I will be loading the object from the server where the
applet is downloaded. Is there any way out ?.
Any help is appreciated
- ANIL