>>There is maybe a third way:
>>(3) leveraging 'JSR 199: Java Compiler API' (from Java 6) in order to do the 
>>on-the-fly code generation (at the source level, instead of byte-code level).
>
> I'll take a look at this. However, based on the description, I suspect that 
> it will also require a signed applet.

This makes me wonder: does the JDK give us any hooks into the actual
compiler?  Might we be able to compile in an instance initializer that
did the binding?

Reply via email to