pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Volkert <tvolk...@gmail.com>
Subject Re: using annotations for binding between XML/Java elements
Date Mon, 04 May 2009 14:22:53 GMT
>>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?

View raw message