dev@glassfish.java.net

Re: JSP seems to be compiled externally. Why?

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Thu, 23 Mar 2006 15:05:05 -0500

Ken Cavanaugh wrote:

>On Thu, 2006-03-23 at 11:20, Cheng Fang wrote:
>
>
>>I remember there is memory leak in javac. This problem also existed for
>>rmic. Not sure if we still fork a process for rmic/ejbc.
>>
>>
>>
>
>Glassfish (and also AS 8.1)
>does not normally use rmic. We generate classes dynamically
>for stubs using BCEL. rmic is still used in the case where
>a client jar containing stubs is explicitly requested (for
>interoperability with non-Sun CORBA implementations), but that
>is not the default.
>
>I'm not sure about ejbc, but I think most of this is done with
>dynamic proxies in glassfish. Ken Saks or Mahesh Kannan could
>confirm this.
>
There's still static code generation for CMP 2.x Entity Beans but that
happens in process.

 --ken

>
>Ken.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>