On Fri, 20 Jul 2001, Christopher Cain wrote:
>
> "JULIEN,TIMOTHY (HP-NewJersey,ex2)" wrote:
> >
> > Over in HP middleware, we're not to happy with this development either....
> > our JSP implementation will suffer for the same reasons Jasper will....
> >
> > We can work with an external compiler, but for speed, we much prefer
> > sun.tool.javac.Main.
>
> Just a question to satisfy my own curiosity (and possibly point out my
> compiler ignorance WRT using sun.tool.javac.Main and/or JSP compilation
> [since I don't do JSP]). You mention speed being the primary factor in
> using the Main compiler. Since Jikes is infinitely faster than javac
> (which I assume is derived from or otherwise related to Main), I have
> two questions.
>
> 1) Is it possible to even use Jikes in a JSP-compilation module, or are
> there technical issues which make it difficult to incorporate in a JSP
> environment?
>
It is certainly technically feasible. And I *thought* that, at least
somewhere in the Jasper lineage, it had actually been implemented. Ant
has interfaces for Jikes already, also.
> 2) If it is not a JSP-specific issue, then I assume that the problem is
> due to Jikes not exposing some kind of API that can be imported and/or
> called from Java classes, and that it would therefore require the
> invokation of a separate external process (which is of course out of the
> question). Is that the case?
>
I haven't looked at Jikes, so can't comment on the suitability of any APIs
it exposes. Would someone like to look at this and report back?
> Again, I have very little knowledge of programatic compilation in Java,
> so I am just asking out of wild curiousity. It's an interesting problem.
>
> Regards,
>
> Christopher
>
Craig