Dynamically download new classes.

Is it possible to download a new classfile into the KVM and to use it in an application. I am using KVM 1.0.3 .I saw that someone else had been askig the same thing but I didnt understand the answers.
[228 byte] By [msalline] at [2007-9-26 11:11:08]
# 1

[msalline],

Not very sure what you are asking, are you referring to adding a MIDlet class file into a MIDlet suite .jar file on-the-fly? If this is your question, then the answer is that the current specifications do not provide such mechanisms.

If I misunderstood your question, perhaps you can give more details of what your requirements are amd we will be glad to answer your question.

Allen Lai

Developer Technical Support

SUN Microsystems

http://www.sun.com/developers/support/

allenlai at 2007-7-2 0:08:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

it does not possible to dynamic download a new classfiles . what meant dynamic here is the program does not know what classfiles it will going to download. This is the security problems because j2me does not allow untrusted classfiles dynamic download to a midlet. the only trusted classfiles is the predefined class in the midlet.

the only solution i found is create a class and then customize it over network.

regards

chauryih

chauryih at 2007-7-2 0:08:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Thanks to you both I forgot that I posted this message.
msalline at 2007-7-2 0:08:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...